// *********************************************************************************
// Project Name : zkx2024
// Author       : Glqu
// Email        : QGL_MAX@163.com
// Create Time  : 2024-04-16
// File Name    : central_controller_top.v
// Module Name  : central_controller_top
// Called By    : glqu
// Abstract     : central_controller_top
//
// 
// *********************************************************************************
// Modification History:
// Date         By              Version                 Change Description
// -----------------------------------------------------------------------
// 2024-04-16    Macro           1.0                     Original
//  
// *********************************************************************************

module central_controller_top(
    input           CLK,
    input           RST_N,
    output [7:0]    FULL_O,
    output [7:0]    FULL_1,
    output [7:0]    FULL_2,
    output [7:0]    FULL_3,
    output [7:0]    FULL_4,
    output [7:0]    FULL_5,
    output [7:0]    FULL_6,
    output [7:0]    FULL_7,
    output [7:0]    FULL_8,
    output [7:0]    FULL_9,
    output [7:0]    FULL_10,
    output [7:0]    FULL_11,
    output [7:0]    FULL_12,
    output [7:0]    FULL_13,
    output [7:0]    FULL_14,
    output [7:0]    FULL_15,
    input  [7:0]         READY_0_I,
    input  [7:0]         READY_1_I,
    input  [7:0]         READY_2_I,
    input  [7:0]         READY_3_I,
    input  [7:0]         READY_4_I,
    input  [7:0]         READY_5_I,
    input  [7:0]         READY_6_I,
    input  [7:0]         READY_7_I,
    input  [7:0]         READY_8_I,
    input  [7:0]         READY_9_I,
    input  [7:0]         READY_10_I,
    input  [7:0]         READY_11_I,
    input  [7:0]         READY_12_I,
    input  [7:0]         READY_13_I,
    input  [7:0]         READY_14_I,
    input  [7:0]         READY_15_I,
    cc_st_bus.cc    cc_st_0,
    cc_st_bus.cc    cc_st_1,
    cc_st_bus.cc    cc_st_2,
    cc_st_bus.cc    cc_st_3,
    cc_st_bus.cc    cc_st_4,
    cc_st_bus.cc    cc_st_5,
    cc_st_bus.cc    cc_st_6,
    cc_st_bus.cc    cc_st_7,
    cc_st_bus.cc    cc_st_8,
    cc_st_bus.cc    cc_st_9,
    cc_st_bus.cc    cc_st_10,
    cc_st_bus.cc    cc_st_11,
    cc_st_bus.cc    cc_st_12,
    cc_st_bus.cc    cc_st_13,
    cc_st_bus.cc    cc_st_14,
    cc_st_bus.cc    cc_st_15,
    de_cc_bus.cc    de_cc_0,
    de_cc_bus.cc    de_cc_1,
    de_cc_bus.cc    de_cc_2,
    de_cc_bus.cc    de_cc_3,
    de_cc_bus.cc    de_cc_4,
    de_cc_bus.cc    de_cc_5,
    de_cc_bus.cc    de_cc_6,
    de_cc_bus.cc    de_cc_7,
    de_cc_bus.cc    de_cc_8,
    de_cc_bus.cc    de_cc_9,
    de_cc_bus.cc    de_cc_10,
    de_cc_bus.cc    de_cc_11,
    de_cc_bus.cc    de_cc_12,
    de_cc_bus.cc    de_cc_13,
    de_cc_bus.cc    de_cc_14,
    de_cc_bus.cc    de_cc_15
);
logic [1:0] cnt_sram_occupy [3:0];//共享sram被输出端口占用的情况
logic [0:0] diu_bao [3:0];//丢包
logic [0:0] huan_cun [3:0];//缓存
logic [0:0] zhi_chuan[3:0];//直传
//给de_cc_bus.REQ打拍
logic [0:0] REQ0_1;
logic [0:0] REQ0_2;
logic [0:0] REQ0_3;
logic [0:0] REQ0_4;
logic [0:0] REQ1_1;
logic [0:0] REQ1_2;
logic [0:0] REQ1_3;
logic [0:0] REQ1_4;
logic [0:0] REQ2_1;
logic [0:0] REQ2_2;
logic [0:0] REQ2_3;
logic [0:0] REQ2_4;
logic [0:0] REQ3_1;
logic [0:0] REQ3_2;
logic [0:0] REQ3_3;
logic [0:0] REQ3_4;
logic [0:0] REQ4_1;
logic [0:0] REQ4_2;
logic [0:0] REQ4_3;
logic [0:0] REQ4_4;
logic [0:0] REQ5_1;
logic [0:0] REQ5_2;
logic [0:0] REQ5_3;
logic [0:0] REQ5_4;
logic [0:0] REQ6_1;
logic [0:0] REQ6_2;
logic [0:0] REQ6_3;
logic [0:0] REQ6_4;
logic [0:0] REQ7_1;
logic [0:0] REQ7_2;
logic [0:0] REQ7_3;
logic [0:0] REQ7_4;
logic [0:0] REQ8_1;
logic [0:0] REQ8_2;
logic [0:0] REQ8_3;
logic [0:0] REQ8_4;
logic [0:0] REQ9_1;
logic [0:0] REQ9_2;
logic [0:0] REQ9_3;
logic [0:0] REQ9_4;
logic [0:0] REQ10_1;
logic [0:0] REQ10_2;
logic [0:0] REQ10_3;
logic [0:0] REQ10_4;
logic [0:0] REQ11_1;
logic [0:0] REQ11_2;
logic [0:0] REQ11_3;
logic [0:0] REQ11_4;
logic [0:0] REQ12_1;
logic [0:0] REQ12_2;
logic [0:0] REQ12_3;
logic [0:0] REQ12_4;
logic [0:0] REQ13_1;
logic [0:0] REQ13_2;
logic [0:0] REQ13_3;
logic [0:0] REQ13_4;
logic [0:0] REQ14_1;
logic [0:0] REQ14_2;
logic [0:0] REQ14_3;
logic [0:0] REQ14_4;
logic [0:0] REQ15_1;
logic [0:0] REQ15_2;
logic [0:0] REQ15_3;
logic [0:0] REQ15_4;
//中间数据传输信号
logic [10:0] data_size_0_0;
logic [10:0] data_size_0_1;
logic [10:0] data_size_0_2;
logic [10:0] data_size_0_3;
logic [10:0] data_size_0_4;
logic [10:0] data_size_0_5;
logic [10:0] data_size_0_6;
logic [10:0] data_size_0_7;
logic [10:0] data_size_0_8;
logic [10:0] data_size_0_9;
logic [10:0] data_size_0_10;
logic [10:0] data_size_0_11;
logic [10:0] data_size_0_12;
logic [10:0] data_size_0_13;
logic [10:0] data_size_0_14;
logic [10:0] data_size_0_15;
logic [2:0] data_pri_0_0;
logic [2:0] data_pri_0_1;
logic [2:0] data_pri_0_2;
logic [2:0] data_pri_0_3;
logic [2:0] data_pri_0_4;
logic [2:0] data_pri_0_5;
logic [2:0] data_pri_0_6;
logic [2:0] data_pri_0_7;
logic [2:0] data_pri_0_8;
logic [2:0] data_pri_0_9;
logic [2:0] data_pri_0_10;
logic [2:0] data_pri_0_11;
logic [2:0] data_pri_0_12;
logic [2:0] data_pri_0_13;
logic [2:0] data_pri_0_14;
logic [2:0] data_pri_0_15;
logic [0:0] wr_sop_0_0;
logic [0:0] wr_sop_0_1;
logic [0:0] wr_sop_0_2;
logic [0:0] wr_sop_0_3;
logic [0:0] wr_sop_0_4;
logic [0:0] wr_sop_0_5;
logic [0:0] wr_sop_0_6;
logic [0:0] wr_sop_0_7;
logic [0:0] wr_sop_0_8;
logic [0:0] wr_sop_0_9;
logic [0:0] wr_sop_0_10;
logic [0:0] wr_sop_0_11;
logic [0:0] wr_sop_0_12;
logic [0:0] wr_sop_0_13;
logic [0:0] wr_sop_0_14;
logic [0:0] wr_sop_0_15;
logic [0:0] wr_eop_0_0;
logic [0:0] wr_eop_0_1;
logic [0:0] wr_eop_0_2;
logic [0:0] wr_eop_0_3;
logic [0:0] wr_eop_0_4;
logic [0:0] wr_eop_0_5;
logic [0:0] wr_eop_0_6;
logic [0:0] wr_eop_0_7;
logic [0:0] wr_eop_0_8;
logic [0:0] wr_eop_0_9;
logic [0:0] wr_eop_0_10;
logic [0:0] wr_eop_0_11;
logic [0:0] wr_eop_0_12;
logic [0:0] wr_eop_0_13;
logic [0:0] wr_eop_0_14;
logic [0:0] wr_eop_0_15;
logic [35:0] wr_data_0_0;
logic [35:0] wr_data_0_1;
logic [35:0] wr_data_0_2;
logic [35:0] wr_data_0_3;
logic [35:0] wr_data_0_4;
logic [35:0] wr_data_0_5;
logic [35:0] wr_data_0_6;
logic [35:0] wr_data_0_7;
logic [35:0] wr_data_0_8;
logic [35:0] wr_data_0_9;
logic [35:0] wr_data_0_10;
logic [35:0] wr_data_0_11;
logic [35:0] wr_data_0_12;
logic [35:0] wr_data_0_13;
logic [35:0] wr_data_0_14;
logic [35:0] wr_data_0_15;
logic [0:0] wr_vld_0_0;
logic [0:0] wr_vld_0_1;
logic [0:0] wr_vld_0_2;
logic [0:0] wr_vld_0_3;
logic [0:0] wr_vld_0_4;
logic [0:0] wr_vld_0_5;
logic [0:0] wr_vld_0_6;
logic [0:0] wr_vld_0_7;
logic [0:0] wr_vld_0_8;
logic [0:0] wr_vld_0_9;
logic [0:0] wr_vld_0_10;
logic [0:0] wr_vld_0_11;
logic [0:0] wr_vld_0_12;
logic [0:0] wr_vld_0_13;
logic [0:0] wr_vld_0_14;
logic [0:0] wr_vld_0_15;                   
logic [0:0] data_status_0_0;
logic [0:0] data_status_0_1;
logic [0:0] data_status_0_2;
logic [0:0] data_status_0_3;
logic [0:0] data_status_0_4;
logic [0:0] data_status_0_5;
logic [0:0] data_status_0_6;
logic [0:0] data_status_0_7;
logic [0:0] data_status_0_8;
logic [0:0] data_status_0_9;
logic [0:0] data_status_0_10;
logic [0:0] data_status_0_11;
logic [0:0] data_status_0_12;
logic [0:0] data_status_0_13;
logic [0:0] data_status_0_14;
logic [0:0] data_status_0_15;

logic [10:0] data_size_1_0;
logic [10:0] data_size_1_1;
logic [10:0] data_size_1_2;
logic [10:0] data_size_1_3;
logic [10:0] data_size_1_4;
logic [10:0] data_size_1_5;
logic [10:0] data_size_1_6;
logic [10:0] data_size_1_7;
logic [10:0] data_size_1_8;
logic [10:0] data_size_1_9;
logic [10:0] data_size_1_10;
logic [10:0] data_size_1_11;
logic [10:0] data_size_1_12;
logic [10:0] data_size_1_13;
logic [10:0] data_size_1_14;
logic [10:0] data_size_1_15;
logic [2:0] data_pri_1_0;
logic [2:0] data_pri_1_1;
logic [2:0] data_pri_1_2;
logic [2:0] data_pri_1_3;
logic [2:0] data_pri_1_4;
logic [2:0] data_pri_1_5;
logic [2:0] data_pri_1_6;
logic [2:0] data_pri_1_7;
logic [2:0] data_pri_1_8;
logic [2:0] data_pri_1_9;
logic [2:0] data_pri_1_10;
logic [2:0] data_pri_1_11;
logic [2:0] data_pri_1_12;
logic [2:0] data_pri_1_13;
logic [2:0] data_pri_1_14;
logic [2:0] data_pri_1_15;
logic [0:0] wr_sop_1_0;
logic [0:0] wr_sop_1_1;
logic [0:0] wr_sop_1_2;
logic [0:0] wr_sop_1_3;
logic [0:0] wr_sop_1_4;
logic [0:0] wr_sop_1_5;
logic [0:0] wr_sop_1_6;
logic [0:0] wr_sop_1_7;
logic [0:0] wr_sop_1_8;
logic [0:0] wr_sop_1_9;
logic [0:0] wr_sop_1_10;
logic [0:0] wr_sop_1_11;
logic [0:0] wr_sop_1_12;
logic [0:0] wr_sop_1_13;
logic [0:0] wr_sop_1_14;
logic [0:0] wr_sop_1_15;
logic [0:0] wr_eop_1_0;
logic [0:0] wr_eop_1_1;
logic [0:0] wr_eop_1_2;
logic [0:0] wr_eop_1_3;
logic [0:0] wr_eop_1_4;
logic [0:0] wr_eop_1_5;
logic [0:0] wr_eop_1_6;
logic [0:0] wr_eop_1_7;
logic [0:0] wr_eop_1_8;
logic [0:0] wr_eop_1_9;
logic [0:0] wr_eop_1_10;
logic [0:0] wr_eop_1_11;
logic [0:0] wr_eop_1_12;
logic [0:0] wr_eop_1_13;
logic [0:0] wr_eop_1_14;
logic [0:0] wr_eop_1_15;
logic [35:0] wr_data_1_0;
logic [35:0] wr_data_1_1;
logic [35:0] wr_data_1_2;
logic [35:0] wr_data_1_3;
logic [35:0] wr_data_1_4;
logic [35:0] wr_data_1_5;
logic [35:0] wr_data_1_6;
logic [35:0] wr_data_1_7;
logic [35:0] wr_data_1_8;
logic [35:0] wr_data_1_9;
logic [35:0] wr_data_1_10;
logic [35:0] wr_data_1_11;
logic [35:0] wr_data_1_12;
logic [35:0] wr_data_1_13;
logic [35:0] wr_data_1_14;
logic [35:0] wr_data_1_15;
logic [0:0] wr_vld_1_0;
logic [0:0] wr_vld_1_1;
logic [0:0] wr_vld_1_2;
logic [0:0] wr_vld_1_3;
logic [0:0] wr_vld_1_4;
logic [0:0] wr_vld_1_5;
logic [0:0] wr_vld_1_6;
logic [0:0] wr_vld_1_7;
logic [0:0] wr_vld_1_8;
logic [0:0] wr_vld_1_9;
logic [0:0] wr_vld_1_10;
logic [0:0] wr_vld_1_11;
logic [0:0] wr_vld_1_12;
logic [0:0] wr_vld_1_13;
logic [0:0] wr_vld_1_14;
logic [0:0] wr_vld_1_15;                   
logic [0:0] data_status_1_0;
logic [0:0] data_status_1_1;
logic [0:0] data_status_1_2;
logic [0:0] data_status_1_3;
logic [0:0] data_status_1_4;
logic [0:0] data_status_1_5;
logic [0:0] data_status_1_6;
logic [0:0] data_status_1_7;
logic [0:0] data_status_1_8;
logic [0:0] data_status_1_9;
logic [0:0] data_status_1_10;
logic [0:0] data_status_1_11;
logic [0:0] data_status_1_12;
logic [0:0] data_status_1_13;
logic [0:0] data_status_1_14;
logic [0:0] data_status_1_15;

logic [10:0] data_size_2_0;
logic [10:0] data_size_2_1;
logic [10:0] data_size_2_2;
logic [10:0] data_size_2_3;
logic [10:0] data_size_2_4;
logic [10:0] data_size_2_5;
logic [10:0] data_size_2_6;
logic [10:0] data_size_2_7;
logic [10:0] data_size_2_8;
logic [10:0] data_size_2_9;
logic [10:0] data_size_2_10;
logic [10:0] data_size_2_11;
logic [10:0] data_size_2_12;
logic [10:0] data_size_2_13;
logic [10:0] data_size_2_14;
logic [10:0] data_size_2_15;
logic [2:0] data_pri_2_0;
logic [2:0] data_pri_2_1;
logic [2:0] data_pri_2_2;
logic [2:0] data_pri_2_3;
logic [2:0] data_pri_2_4;
logic [2:0] data_pri_2_5;
logic [2:0] data_pri_2_6;
logic [2:0] data_pri_2_7;
logic [2:0] data_pri_2_8;
logic [2:0] data_pri_2_9;
logic [2:0] data_pri_2_10;
logic [2:0] data_pri_2_11;
logic [2:0] data_pri_2_12;
logic [2:0] data_pri_2_13;
logic [2:0] data_pri_2_14;
logic [2:0] data_pri_2_15;
logic [0:0] wr_sop_2_0;
logic [0:0] wr_sop_2_1;
logic [0:0] wr_sop_2_2;
logic [0:0] wr_sop_2_3;
logic [0:0] wr_sop_2_4;
logic [0:0] wr_sop_2_5;
logic [0:0] wr_sop_2_6;
logic [0:0] wr_sop_2_7;
logic [0:0] wr_sop_2_8;
logic [0:0] wr_sop_2_9;
logic [0:0] wr_sop_2_10;
logic [0:0] wr_sop_2_11;
logic [0:0] wr_sop_2_12;
logic [0:0] wr_sop_2_13;
logic [0:0] wr_sop_2_14;
logic [0:0] wr_sop_2_15;
logic [0:0] wr_eop_2_0;
logic [0:0] wr_eop_2_1;
logic [0:0] wr_eop_2_2;
logic [0:0] wr_eop_2_3;
logic [0:0] wr_eop_2_4;
logic [0:0] wr_eop_2_5;
logic [0:0] wr_eop_2_6;
logic [0:0] wr_eop_2_7;
logic [0:0] wr_eop_2_8;
logic [0:0] wr_eop_2_9;
logic [0:0] wr_eop_2_10;
logic [0:0] wr_eop_2_11;
logic [0:0] wr_eop_2_12;
logic [0:0] wr_eop_2_13;
logic [0:0] wr_eop_2_14;
logic [0:0] wr_eop_2_15;
logic [35:0] wr_data_2_0;
logic [35:0] wr_data_2_1;
logic [35:0] wr_data_2_2;
logic [35:0] wr_data_2_3;
logic [35:0] wr_data_2_4;
logic [35:0] wr_data_2_5;
logic [35:0] wr_data_2_6;
logic [35:0] wr_data_2_7;
logic [35:0] wr_data_2_8;
logic [35:0] wr_data_2_9;
logic [35:0] wr_data_2_10;
logic [35:0] wr_data_2_11;
logic [35:0] wr_data_2_12;
logic [35:0] wr_data_2_13;
logic [35:0] wr_data_2_14;
logic [35:0] wr_data_2_15;
logic [0:0] wr_vld_2_0;
logic [0:0] wr_vld_2_1;
logic [0:0] wr_vld_2_2;
logic [0:0] wr_vld_2_3;
logic [0:0] wr_vld_2_4;
logic [0:0] wr_vld_2_5;
logic [0:0] wr_vld_2_6;
logic [0:0] wr_vld_2_7;
logic [0:0] wr_vld_2_8;
logic [0:0] wr_vld_2_9;
logic [0:0] wr_vld_2_10;
logic [0:0] wr_vld_2_11;
logic [0:0] wr_vld_2_12;
logic [0:0] wr_vld_2_13;
logic [0:0] wr_vld_2_14;
logic [0:0] wr_vld_2_15;                   
logic [0:0] data_status_2_0;
logic [0:0] data_status_2_1;
logic [0:0] data_status_2_2;
logic [0:0] data_status_2_3;
logic [0:0] data_status_2_4;
logic [0:0] data_status_2_5;
logic [0:0] data_status_2_6;
logic [0:0] data_status_2_7;
logic [0:0] data_status_2_8;
logic [0:0] data_status_2_9;
logic [0:0] data_status_2_10;
logic [0:0] data_status_2_11;
logic [0:0] data_status_2_12;
logic [0:0] data_status_2_13;
logic [0:0] data_status_2_14;
logic [0:0] data_status_2_15;

logic [10:0] data_size_3_0;
logic [10:0] data_size_3_1;
logic [10:0] data_size_3_2;
logic [10:0] data_size_3_3;
logic [10:0] data_size_3_4;
logic [10:0] data_size_3_5;
logic [10:0] data_size_3_6;
logic [10:0] data_size_3_7;
logic [10:0] data_size_3_8;
logic [10:0] data_size_3_9;
logic [10:0] data_size_3_10;
logic [10:0] data_size_3_11;
logic [10:0] data_size_3_12;
logic [10:0] data_size_3_13;
logic [10:0] data_size_3_14;
logic [10:0] data_size_3_15;
logic [2:0] data_pri_3_0;
logic [2:0] data_pri_3_1;
logic [2:0] data_pri_3_2;
logic [2:0] data_pri_3_3;
logic [2:0] data_pri_3_4;
logic [2:0] data_pri_3_5;
logic [2:0] data_pri_3_6;
logic [2:0] data_pri_3_7;
logic [2:0] data_pri_3_8;
logic [2:0] data_pri_3_9;
logic [2:0] data_pri_3_10;
logic [2:0] data_pri_3_11;
logic [2:0] data_pri_3_12;
logic [2:0] data_pri_3_13;
logic [2:0] data_pri_3_14;
logic [2:0] data_pri_3_15;
logic [0:0] wr_sop_3_0;
logic [0:0] wr_sop_3_1;
logic [0:0] wr_sop_3_2;
logic [0:0] wr_sop_3_3;
logic [0:0] wr_sop_3_4;
logic [0:0] wr_sop_3_5;
logic [0:0] wr_sop_3_6;
logic [0:0] wr_sop_3_7;
logic [0:0] wr_sop_3_8;
logic [0:0] wr_sop_3_9;
logic [0:0] wr_sop_3_10;
logic [0:0] wr_sop_3_11;
logic [0:0] wr_sop_3_12;
logic [0:0] wr_sop_3_13;
logic [0:0] wr_sop_3_14;
logic [0:0] wr_sop_3_15;
logic [0:0] wr_eop_3_0;
logic [0:0] wr_eop_3_1;
logic [0:0] wr_eop_3_2;
logic [0:0] wr_eop_3_3;
logic [0:0] wr_eop_3_4;
logic [0:0] wr_eop_3_5;
logic [0:0] wr_eop_3_6;
logic [0:0] wr_eop_3_7;
logic [0:0] wr_eop_3_8;
logic [0:0] wr_eop_3_9;
logic [0:0] wr_eop_3_10;
logic [0:0] wr_eop_3_11;
logic [0:0] wr_eop_3_12;
logic [0:0] wr_eop_3_13;
logic [0:0] wr_eop_3_14;
logic [0:0] wr_eop_3_15;
logic [35:0] wr_data_3_0;
logic [35:0] wr_data_3_1;
logic [35:0] wr_data_3_2;
logic [35:0] wr_data_3_3;
logic [35:0] wr_data_3_4;
logic [35:0] wr_data_3_5;
logic [35:0] wr_data_3_6;
logic [35:0] wr_data_3_7;
logic [35:0] wr_data_3_8;
logic [35:0] wr_data_3_9;
logic [35:0] wr_data_3_10;
logic [35:0] wr_data_3_11;
logic [35:0] wr_data_3_12;
logic [35:0] wr_data_3_13;
logic [35:0] wr_data_3_14;
logic [35:0] wr_data_3_15;
logic [0:0] wr_vld_3_0;
logic [0:0] wr_vld_3_1;
logic [0:0] wr_vld_3_2;
logic [0:0] wr_vld_3_3;
logic [0:0] wr_vld_3_4;
logic [0:0] wr_vld_3_5;
logic [0:0] wr_vld_3_6;
logic [0:0] wr_vld_3_7;
logic [0:0] wr_vld_3_8;
logic [0:0] wr_vld_3_9;
logic [0:0] wr_vld_3_10;
logic [0:0] wr_vld_3_11;
logic [0:0] wr_vld_3_12;
logic [0:0] wr_vld_3_13;
logic [0:0] wr_vld_3_14;
logic [0:0] wr_vld_3_15;                   
logic [0:0] data_status_3_0;
logic [0:0] data_status_3_1;
logic [0:0] data_status_3_2;
logic [0:0] data_status_3_3;
logic [0:0] data_status_3_4;
logic [0:0] data_status_3_5;
logic [0:0] data_status_3_6;
logic [0:0] data_status_3_7;
logic [0:0] data_status_3_8;
logic [0:0] data_status_3_9;
logic [0:0] data_status_3_10;
logic [0:0] data_status_3_11;
logic [0:0] data_status_3_12;
logic [0:0] data_status_3_13;
logic [0:0] data_status_3_14;
logic [0:0] data_status_3_15;

logic [10:0] data_size_4_0;
logic [10:0] data_size_4_1;
logic [10:0] data_size_4_2;
logic [10:0] data_size_4_3;
logic [10:0] data_size_4_4;
logic [10:0] data_size_4_5;
logic [10:0] data_size_4_6;
logic [10:0] data_size_4_7;
logic [10:0] data_size_4_8;
logic [10:0] data_size_4_9;
logic [10:0] data_size_4_10;
logic [10:0] data_size_4_11;
logic [10:0] data_size_4_12;
logic [10:0] data_size_4_13;
logic [10:0] data_size_4_14;
logic [10:0] data_size_4_15;
logic [2:0] data_pri_4_0;
logic [2:0] data_pri_4_1;
logic [2:0] data_pri_4_2;
logic [2:0] data_pri_4_3;
logic [2:0] data_pri_4_4;
logic [2:0] data_pri_4_5;
logic [2:0] data_pri_4_6;
logic [2:0] data_pri_4_7;
logic [2:0] data_pri_4_8;
logic [2:0] data_pri_4_9;
logic [2:0] data_pri_4_10;
logic [2:0] data_pri_4_11;
logic [2:0] data_pri_4_12;
logic [2:0] data_pri_4_13;
logic [2:0] data_pri_4_14;
logic [2:0] data_pri_4_15;
logic [0:0] wr_sop_4_0;
logic [0:0] wr_sop_4_1;
logic [0:0] wr_sop_4_2;
logic [0:0] wr_sop_4_3;
logic [0:0] wr_sop_4_4;
logic [0:0] wr_sop_4_5;
logic [0:0] wr_sop_4_6;
logic [0:0] wr_sop_4_7;
logic [0:0] wr_sop_4_8;
logic [0:0] wr_sop_4_9;
logic [0:0] wr_sop_4_10;
logic [0:0] wr_sop_4_11;
logic [0:0] wr_sop_4_12;
logic [0:0] wr_sop_4_13;
logic [0:0] wr_sop_4_14;
logic [0:0] wr_sop_4_15;
logic [0:0] wr_eop_4_0;
logic [0:0] wr_eop_4_1;
logic [0:0] wr_eop_4_2;
logic [0:0] wr_eop_4_3;
logic [0:0] wr_eop_4_4;
logic [0:0] wr_eop_4_5;
logic [0:0] wr_eop_4_6;
logic [0:0] wr_eop_4_7;
logic [0:0] wr_eop_4_8;
logic [0:0] wr_eop_4_9;
logic [0:0] wr_eop_4_10;
logic [0:0] wr_eop_4_11;
logic [0:0] wr_eop_4_12;
logic [0:0] wr_eop_4_13;
logic [0:0] wr_eop_4_14;
logic [0:0] wr_eop_4_15;
logic [35:0] wr_data_4_0;
logic [35:0] wr_data_4_1;
logic [35:0] wr_data_4_2;
logic [35:0] wr_data_4_3;
logic [35:0] wr_data_4_4;
logic [35:0] wr_data_4_5;
logic [35:0] wr_data_4_6;
logic [35:0] wr_data_4_7;
logic [35:0] wr_data_4_8;
logic [35:0] wr_data_4_9;
logic [35:0] wr_data_4_10;
logic [35:0] wr_data_4_11;
logic [35:0] wr_data_4_12;
logic [35:0] wr_data_4_13;
logic [35:0] wr_data_4_14;
logic [35:0] wr_data_4_15;
logic [0:0] wr_vld_4_0;
logic [0:0] wr_vld_4_1;
logic [0:0] wr_vld_4_2;
logic [0:0] wr_vld_4_3;
logic [0:0] wr_vld_4_4;
logic [0:0] wr_vld_4_5;
logic [0:0] wr_vld_4_6;
logic [0:0] wr_vld_4_7;
logic [0:0] wr_vld_4_8;
logic [0:0] wr_vld_4_9;
logic [0:0] wr_vld_4_10;
logic [0:0] wr_vld_4_11;
logic [0:0] wr_vld_4_12;
logic [0:0] wr_vld_4_13;
logic [0:0] wr_vld_4_14;
logic [0:0] wr_vld_4_15;                   
logic [0:0] data_status_4_0;
logic [0:0] data_status_4_1;
logic [0:0] data_status_4_2;
logic [0:0] data_status_4_3;
logic [0:0] data_status_4_4;
logic [0:0] data_status_4_5;
logic [0:0] data_status_4_6;
logic [0:0] data_status_4_7;
logic [0:0] data_status_4_8;
logic [0:0] data_status_4_9;
logic [0:0] data_status_4_10;
logic [0:0] data_status_4_11;
logic [0:0] data_status_4_12;
logic [0:0] data_status_4_13;
logic [0:0] data_status_4_14;
logic [0:0] data_status_4_15;

logic [10:0] data_size_5_0;
logic [10:0] data_size_5_1;
logic [10:0] data_size_5_2;
logic [10:0] data_size_5_3;
logic [10:0] data_size_5_4;
logic [10:0] data_size_5_5;
logic [10:0] data_size_5_6;
logic [10:0] data_size_5_7;
logic [10:0] data_size_5_8;
logic [10:0] data_size_5_9;
logic [10:0] data_size_5_10;
logic [10:0] data_size_5_11;
logic [10:0] data_size_5_12;
logic [10:0] data_size_5_13;
logic [10:0] data_size_5_14;
logic [10:0] data_size_5_15;
logic [2:0] data_pri_5_0;
logic [2:0] data_pri_5_1;
logic [2:0] data_pri_5_2;
logic [2:0] data_pri_5_3;
logic [2:0] data_pri_5_4;
logic [2:0] data_pri_5_5;
logic [2:0] data_pri_5_6;
logic [2:0] data_pri_5_7;
logic [2:0] data_pri_5_8;
logic [2:0] data_pri_5_9;
logic [2:0] data_pri_5_10;
logic [2:0] data_pri_5_11;
logic [2:0] data_pri_5_12;
logic [2:0] data_pri_5_13;
logic [2:0] data_pri_5_14;
logic [2:0] data_pri_5_15;
logic [0:0] wr_sop_5_0;
logic [0:0] wr_sop_5_1;
logic [0:0] wr_sop_5_2;
logic [0:0] wr_sop_5_3;
logic [0:0] wr_sop_5_4;
logic [0:0] wr_sop_5_5;
logic [0:0] wr_sop_5_6;
logic [0:0] wr_sop_5_7;
logic [0:0] wr_sop_5_8;
logic [0:0] wr_sop_5_9;
logic [0:0] wr_sop_5_10;
logic [0:0] wr_sop_5_11;
logic [0:0] wr_sop_5_12;
logic [0:0] wr_sop_5_13;
logic [0:0] wr_sop_5_14;
logic [0:0] wr_sop_5_15;
logic [0:0] wr_eop_5_0;
logic [0:0] wr_eop_5_1;
logic [0:0] wr_eop_5_2;
logic [0:0] wr_eop_5_3;
logic [0:0] wr_eop_5_4;
logic [0:0] wr_eop_5_5;
logic [0:0] wr_eop_5_6;
logic [0:0] wr_eop_5_7;
logic [0:0] wr_eop_5_8;
logic [0:0] wr_eop_5_9;
logic [0:0] wr_eop_5_10;
logic [0:0] wr_eop_5_11;
logic [0:0] wr_eop_5_12;
logic [0:0] wr_eop_5_13;
logic [0:0] wr_eop_5_14;
logic [0:0] wr_eop_5_15;
logic [35:0] wr_data_5_0;
logic [35:0] wr_data_5_1;
logic [35:0] wr_data_5_2;
logic [35:0] wr_data_5_3;
logic [35:0] wr_data_5_4;
logic [35:0] wr_data_5_5;
logic [35:0] wr_data_5_6;
logic [35:0] wr_data_5_7;
logic [35:0] wr_data_5_8;
logic [35:0] wr_data_5_9;
logic [35:0] wr_data_5_10;
logic [35:0] wr_data_5_11;
logic [35:0] wr_data_5_12;
logic [35:0] wr_data_5_13;
logic [35:0] wr_data_5_14;
logic [35:0] wr_data_5_15;
logic [0:0] wr_vld_5_0;
logic [0:0] wr_vld_5_1;
logic [0:0] wr_vld_5_2;
logic [0:0] wr_vld_5_3;
logic [0:0] wr_vld_5_4;
logic [0:0] wr_vld_5_5;
logic [0:0] wr_vld_5_6;
logic [0:0] wr_vld_5_7;
logic [0:0] wr_vld_5_8;
logic [0:0] wr_vld_5_9;
logic [0:0] wr_vld_5_10;
logic [0:0] wr_vld_5_11;
logic [0:0] wr_vld_5_12;
logic [0:0] wr_vld_5_13;
logic [0:0] wr_vld_5_14;
logic [0:0] wr_vld_5_15;                   
logic [0:0] data_status_5_0;
logic [0:0] data_status_5_1;
logic [0:0] data_status_5_2;
logic [0:0] data_status_5_3;
logic [0:0] data_status_5_4;
logic [0:0] data_status_5_5;
logic [0:0] data_status_5_6;
logic [0:0] data_status_5_7;
logic [0:0] data_status_5_8;
logic [0:0] data_status_5_9;
logic [0:0] data_status_5_10;
logic [0:0] data_status_5_11;
logic [0:0] data_status_5_12;
logic [0:0] data_status_5_13;
logic [0:0] data_status_5_14;
logic [0:0] data_status_5_15;

logic [10:0] data_size_6_0;
logic [10:0] data_size_6_1;
logic [10:0] data_size_6_2;
logic [10:0] data_size_6_3;
logic [10:0] data_size_6_4;
logic [10:0] data_size_6_5;
logic [10:0] data_size_6_6;
logic [10:0] data_size_6_7;
logic [10:0] data_size_6_8;
logic [10:0] data_size_6_9;
logic [10:0] data_size_6_10;
logic [10:0] data_size_6_11;
logic [10:0] data_size_6_12;
logic [10:0] data_size_6_13;
logic [10:0] data_size_6_14;
logic [10:0] data_size_6_15;
logic [2:0] data_pri_6_0;
logic [2:0] data_pri_6_1;
logic [2:0] data_pri_6_2;
logic [2:0] data_pri_6_3;
logic [2:0] data_pri_6_4;
logic [2:0] data_pri_6_5;
logic [2:0] data_pri_6_6;
logic [2:0] data_pri_6_7;
logic [2:0] data_pri_6_8;
logic [2:0] data_pri_6_9;
logic [2:0] data_pri_6_10;
logic [2:0] data_pri_6_11;
logic [2:0] data_pri_6_12;
logic [2:0] data_pri_6_13;
logic [2:0] data_pri_6_14;
logic [2:0] data_pri_6_15;
logic [0:0] wr_sop_6_0;
logic [0:0] wr_sop_6_1;
logic [0:0] wr_sop_6_2;
logic [0:0] wr_sop_6_3;
logic [0:0] wr_sop_6_4;
logic [0:0] wr_sop_6_5;
logic [0:0] wr_sop_6_6;
logic [0:0] wr_sop_6_7;
logic [0:0] wr_sop_6_8;
logic [0:0] wr_sop_6_9;
logic [0:0] wr_sop_6_10;
logic [0:0] wr_sop_6_11;
logic [0:0] wr_sop_6_12;
logic [0:0] wr_sop_6_13;
logic [0:0] wr_sop_6_14;
logic [0:0] wr_sop_6_15;
logic [0:0] wr_eop_6_0;
logic [0:0] wr_eop_6_1;
logic [0:0] wr_eop_6_2;
logic [0:0] wr_eop_6_3;
logic [0:0] wr_eop_6_4;
logic [0:0] wr_eop_6_5;
logic [0:0] wr_eop_6_6;
logic [0:0] wr_eop_6_7;
logic [0:0] wr_eop_6_8;
logic [0:0] wr_eop_6_9;
logic [0:0] wr_eop_6_10;
logic [0:0] wr_eop_6_11;
logic [0:0] wr_eop_6_12;
logic [0:0] wr_eop_6_13;
logic [0:0] wr_eop_6_14;
logic [0:0] wr_eop_6_15;
logic [35:0] wr_data_6_0;
logic [35:0] wr_data_6_1;
logic [35:0] wr_data_6_2;
logic [35:0] wr_data_6_3;
logic [35:0] wr_data_6_4;
logic [35:0] wr_data_6_5;
logic [35:0] wr_data_6_6;
logic [35:0] wr_data_6_7;
logic [35:0] wr_data_6_8;
logic [35:0] wr_data_6_9;
logic [35:0] wr_data_6_10;
logic [35:0] wr_data_6_11;
logic [35:0] wr_data_6_12;
logic [35:0] wr_data_6_13;
logic [35:0] wr_data_6_14;
logic [35:0] wr_data_6_15;
logic [0:0] wr_vld_6_0;
logic [0:0] wr_vld_6_1;
logic [0:0] wr_vld_6_2;
logic [0:0] wr_vld_6_3;
logic [0:0] wr_vld_6_4;
logic [0:0] wr_vld_6_5;
logic [0:0] wr_vld_6_6;
logic [0:0] wr_vld_6_7;
logic [0:0] wr_vld_6_8;
logic [0:0] wr_vld_6_9;
logic [0:0] wr_vld_6_10;
logic [0:0] wr_vld_6_11;
logic [0:0] wr_vld_6_12;
logic [0:0] wr_vld_6_13;
logic [0:0] wr_vld_6_14;
logic [0:0] wr_vld_6_15;                   
logic [0:0] data_status_6_0;
logic [0:0] data_status_6_1;
logic [0:0] data_status_6_2;
logic [0:0] data_status_6_3;
logic [0:0] data_status_6_4;
logic [0:0] data_status_6_5;
logic [0:0] data_status_6_6;
logic [0:0] data_status_6_7;
logic [0:0] data_status_6_8;
logic [0:0] data_status_6_9;
logic [0:0] data_status_6_10;
logic [0:0] data_status_6_11;
logic [0:0] data_status_6_12;
logic [0:0] data_status_6_13;
logic [0:0] data_status_6_14;
logic [0:0] data_status_6_15;

logic [10:0] data_size_7_0;
logic [10:0] data_size_7_1;
logic [10:0] data_size_7_2;
logic [10:0] data_size_7_3;
logic [10:0] data_size_7_4;
logic [10:0] data_size_7_5;
logic [10:0] data_size_7_6;
logic [10:0] data_size_7_7;
logic [10:0] data_size_7_8;
logic [10:0] data_size_7_9;
logic [10:0] data_size_7_10;
logic [10:0] data_size_7_11;
logic [10:0] data_size_7_12;
logic [10:0] data_size_7_13;
logic [10:0] data_size_7_14;
logic [10:0] data_size_7_15;
logic [2:0] data_pri_7_0;
logic [2:0] data_pri_7_1;
logic [2:0] data_pri_7_2;
logic [2:0] data_pri_7_3;
logic [2:0] data_pri_7_4;
logic [2:0] data_pri_7_5;
logic [2:0] data_pri_7_6;
logic [2:0] data_pri_7_7;
logic [2:0] data_pri_7_8;
logic [2:0] data_pri_7_9;
logic [2:0] data_pri_7_10;
logic [2:0] data_pri_7_11;
logic [2:0] data_pri_7_12;
logic [2:0] data_pri_7_13;
logic [2:0] data_pri_7_14;
logic [2:0] data_pri_7_15;
logic [0:0] wr_sop_7_0;
logic [0:0] wr_sop_7_1;
logic [0:0] wr_sop_7_2;
logic [0:0] wr_sop_7_3;
logic [0:0] wr_sop_7_4;
logic [0:0] wr_sop_7_5;
logic [0:0] wr_sop_7_6;
logic [0:0] wr_sop_7_7;
logic [0:0] wr_sop_7_8;
logic [0:0] wr_sop_7_9;
logic [0:0] wr_sop_7_10;
logic [0:0] wr_sop_7_11;
logic [0:0] wr_sop_7_12;
logic [0:0] wr_sop_7_13;
logic [0:0] wr_sop_7_14;
logic [0:0] wr_sop_7_15;
logic [0:0] wr_eop_7_0;
logic [0:0] wr_eop_7_1;
logic [0:0] wr_eop_7_2;
logic [0:0] wr_eop_7_3;
logic [0:0] wr_eop_7_4;
logic [0:0] wr_eop_7_5;
logic [0:0] wr_eop_7_6;
logic [0:0] wr_eop_7_7;
logic [0:0] wr_eop_7_8;
logic [0:0] wr_eop_7_9;
logic [0:0] wr_eop_7_10;
logic [0:0] wr_eop_7_11;
logic [0:0] wr_eop_7_12;
logic [0:0] wr_eop_7_13;
logic [0:0] wr_eop_7_14;
logic [0:0] wr_eop_7_15;
logic [35:0] wr_data_7_0;
logic [35:0] wr_data_7_1;
logic [35:0] wr_data_7_2;
logic [35:0] wr_data_7_3;
logic [35:0] wr_data_7_4;
logic [35:0] wr_data_7_5;
logic [35:0] wr_data_7_6;
logic [35:0] wr_data_7_7;
logic [35:0] wr_data_7_8;
logic [35:0] wr_data_7_9;
logic [35:0] wr_data_7_10;
logic [35:0] wr_data_7_11;
logic [35:0] wr_data_7_12;
logic [35:0] wr_data_7_13;
logic [35:0] wr_data_7_14;
logic [35:0] wr_data_7_15;
logic [0:0] wr_vld_7_0;
logic [0:0] wr_vld_7_1;
logic [0:0] wr_vld_7_2;
logic [0:0] wr_vld_7_3;
logic [0:0] wr_vld_7_4;
logic [0:0] wr_vld_7_5;
logic [0:0] wr_vld_7_6;
logic [0:0] wr_vld_7_7;
logic [0:0] wr_vld_7_8;
logic [0:0] wr_vld_7_9;
logic [0:0] wr_vld_7_10;
logic [0:0] wr_vld_7_11;
logic [0:0] wr_vld_7_12;
logic [0:0] wr_vld_7_13;
logic [0:0] wr_vld_7_14;
logic [0:0] wr_vld_7_15;                   
logic [0:0] data_status_7_0;
logic [0:0] data_status_7_1;
logic [0:0] data_status_7_2;
logic [0:0] data_status_7_3;
logic [0:0] data_status_7_4;
logic [0:0] data_status_7_5;
logic [0:0] data_status_7_6;
logic [0:0] data_status_7_7;
logic [0:0] data_status_7_8;
logic [0:0] data_status_7_9;
logic [0:0] data_status_7_10;
logic [0:0] data_status_7_11;
logic [0:0] data_status_7_12;
logic [0:0] data_status_7_13;
logic [0:0] data_status_7_14;
logic [0:0] data_status_7_15;

logic [10:0] data_size_8_0;
logic [10:0] data_size_8_1;
logic [10:0] data_size_8_2;
logic [10:0] data_size_8_3;
logic [10:0] data_size_8_4;
logic [10:0] data_size_8_5;
logic [10:0] data_size_8_6;
logic [10:0] data_size_8_7;
logic [10:0] data_size_8_8;
logic [10:0] data_size_8_9;
logic [10:0] data_size_8_10;
logic [10:0] data_size_8_11;
logic [10:0] data_size_8_12;
logic [10:0] data_size_8_13;
logic [10:0] data_size_8_14;
logic [10:0] data_size_8_15;
logic [2:0] data_pri_8_0;
logic [2:0] data_pri_8_1;
logic [2:0] data_pri_8_2;
logic [2:0] data_pri_8_3;
logic [2:0] data_pri_8_4;
logic [2:0] data_pri_8_5;
logic [2:0] data_pri_8_6;
logic [2:0] data_pri_8_7;
logic [2:0] data_pri_8_8;
logic [2:0] data_pri_8_9;
logic [2:0] data_pri_8_10;
logic [2:0] data_pri_8_11;
logic [2:0] data_pri_8_12;
logic [2:0] data_pri_8_13;
logic [2:0] data_pri_8_14;
logic [2:0] data_pri_8_15;
logic [0:0] wr_sop_8_0;
logic [0:0] wr_sop_8_1;
logic [0:0] wr_sop_8_2;
logic [0:0] wr_sop_8_3;
logic [0:0] wr_sop_8_4;
logic [0:0] wr_sop_8_5;
logic [0:0] wr_sop_8_6;
logic [0:0] wr_sop_8_7;
logic [0:0] wr_sop_8_8;
logic [0:0] wr_sop_8_9;
logic [0:0] wr_sop_8_10;
logic [0:0] wr_sop_8_11;
logic [0:0] wr_sop_8_12;
logic [0:0] wr_sop_8_13;
logic [0:0] wr_sop_8_14;
logic [0:0] wr_sop_8_15;
logic [0:0] wr_eop_8_0;
logic [0:0] wr_eop_8_1;
logic [0:0] wr_eop_8_2;
logic [0:0] wr_eop_8_3;
logic [0:0] wr_eop_8_4;
logic [0:0] wr_eop_8_5;
logic [0:0] wr_eop_8_6;
logic [0:0] wr_eop_8_7;
logic [0:0] wr_eop_8_8;
logic [0:0] wr_eop_8_9;
logic [0:0] wr_eop_8_10;
logic [0:0] wr_eop_8_11;
logic [0:0] wr_eop_8_12;
logic [0:0] wr_eop_8_13;
logic [0:0] wr_eop_8_14;
logic [0:0] wr_eop_8_15;
logic [35:0] wr_data_8_0;
logic [35:0] wr_data_8_1;
logic [35:0] wr_data_8_2;
logic [35:0] wr_data_8_3;
logic [35:0] wr_data_8_4;
logic [35:0] wr_data_8_5;
logic [35:0] wr_data_8_6;
logic [35:0] wr_data_8_7;
logic [35:0] wr_data_8_8;
logic [35:0] wr_data_8_9;
logic [35:0] wr_data_8_10;
logic [35:0] wr_data_8_11;
logic [35:0] wr_data_8_12;
logic [35:0] wr_data_8_13;
logic [35:0] wr_data_8_14;
logic [35:0] wr_data_8_15;
logic [0:0] wr_vld_8_0;
logic [0:0] wr_vld_8_1;
logic [0:0] wr_vld_8_2;
logic [0:0] wr_vld_8_3;
logic [0:0] wr_vld_8_4;
logic [0:0] wr_vld_8_5;
logic [0:0] wr_vld_8_6;
logic [0:0] wr_vld_8_7;
logic [0:0] wr_vld_8_8;
logic [0:0] wr_vld_8_9;
logic [0:0] wr_vld_8_10;
logic [0:0] wr_vld_8_11;
logic [0:0] wr_vld_8_12;
logic [0:0] wr_vld_8_13;
logic [0:0] wr_vld_8_14;
logic [0:0] wr_vld_8_15;                   
logic [0:0] data_status_8_0;
logic [0:0] data_status_8_1;
logic [0:0] data_status_8_2;
logic [0:0] data_status_8_3;
logic [0:0] data_status_8_4;
logic [0:0] data_status_8_5;
logic [0:0] data_status_8_6;
logic [0:0] data_status_8_7;
logic [0:0] data_status_8_8;
logic [0:0] data_status_8_9;
logic [0:0] data_status_8_10;
logic [0:0] data_status_8_11;
logic [0:0] data_status_8_12;
logic [0:0] data_status_8_13;
logic [0:0] data_status_8_14;
logic [0:0] data_status_8_15;

logic [10:0] data_size_9_0;
logic [10:0] data_size_9_1;
logic [10:0] data_size_9_2;
logic [10:0] data_size_9_3;
logic [10:0] data_size_9_4;
logic [10:0] data_size_9_5;
logic [10:0] data_size_9_6;
logic [10:0] data_size_9_7;
logic [10:0] data_size_9_8;
logic [10:0] data_size_9_9;
logic [10:0] data_size_9_10;
logic [10:0] data_size_9_11;
logic [10:0] data_size_9_12;
logic [10:0] data_size_9_13;
logic [10:0] data_size_9_14;
logic [10:0] data_size_9_15;
logic [2:0] data_pri_9_0;
logic [2:0] data_pri_9_1;
logic [2:0] data_pri_9_2;
logic [2:0] data_pri_9_3;
logic [2:0] data_pri_9_4;
logic [2:0] data_pri_9_5;
logic [2:0] data_pri_9_6;
logic [2:0] data_pri_9_7;
logic [2:0] data_pri_9_8;
logic [2:0] data_pri_9_9;
logic [2:0] data_pri_9_10;
logic [2:0] data_pri_9_11;
logic [2:0] data_pri_9_12;
logic [2:0] data_pri_9_13;
logic [2:0] data_pri_9_14;
logic [2:0] data_pri_9_15;
logic [0:0] wr_sop_9_0;
logic [0:0] wr_sop_9_1;
logic [0:0] wr_sop_9_2;
logic [0:0] wr_sop_9_3;
logic [0:0] wr_sop_9_4;
logic [0:0] wr_sop_9_5;
logic [0:0] wr_sop_9_6;
logic [0:0] wr_sop_9_7;
logic [0:0] wr_sop_9_8;
logic [0:0] wr_sop_9_9;
logic [0:0] wr_sop_9_10;
logic [0:0] wr_sop_9_11;
logic [0:0] wr_sop_9_12;
logic [0:0] wr_sop_9_13;
logic [0:0] wr_sop_9_14;
logic [0:0] wr_sop_9_15;
logic [0:0] wr_eop_9_0;
logic [0:0] wr_eop_9_1;
logic [0:0] wr_eop_9_2;
logic [0:0] wr_eop_9_3;
logic [0:0] wr_eop_9_4;
logic [0:0] wr_eop_9_5;
logic [0:0] wr_eop_9_6;
logic [0:0] wr_eop_9_7;
logic [0:0] wr_eop_9_8;
logic [0:0] wr_eop_9_9;
logic [0:0] wr_eop_9_10;
logic [0:0] wr_eop_9_11;
logic [0:0] wr_eop_9_12;
logic [0:0] wr_eop_9_13;
logic [0:0] wr_eop_9_14;
logic [0:0] wr_eop_9_15;
logic [35:0] wr_data_9_0;
logic [35:0] wr_data_9_1;
logic [35:0] wr_data_9_2;
logic [35:0] wr_data_9_3;
logic [35:0] wr_data_9_4;
logic [35:0] wr_data_9_5;
logic [35:0] wr_data_9_6;
logic [35:0] wr_data_9_7;
logic [35:0] wr_data_9_8;
logic [35:0] wr_data_9_9;
logic [35:0] wr_data_9_10;
logic [35:0] wr_data_9_11;
logic [35:0] wr_data_9_12;
logic [35:0] wr_data_9_13;
logic [35:0] wr_data_9_14;
logic [35:0] wr_data_9_15;
logic [0:0] wr_vld_9_0;
logic [0:0] wr_vld_9_1;
logic [0:0] wr_vld_9_2;
logic [0:0] wr_vld_9_3;
logic [0:0] wr_vld_9_4;
logic [0:0] wr_vld_9_5;
logic [0:0] wr_vld_9_6;
logic [0:0] wr_vld_9_7;
logic [0:0] wr_vld_9_8;
logic [0:0] wr_vld_9_9;
logic [0:0] wr_vld_9_10;
logic [0:0] wr_vld_9_11;
logic [0:0] wr_vld_9_12;
logic [0:0] wr_vld_9_13;
logic [0:0] wr_vld_9_14;
logic [0:0] wr_vld_9_15;                   
logic [0:0] data_status_9_0;
logic [0:0] data_status_9_1;
logic [0:0] data_status_9_2;
logic [0:0] data_status_9_3;
logic [0:0] data_status_9_4;
logic [0:0] data_status_9_5;
logic [0:0] data_status_9_6;
logic [0:0] data_status_9_7;
logic [0:0] data_status_9_8;
logic [0:0] data_status_9_9;
logic [0:0] data_status_9_10;
logic [0:0] data_status_9_11;
logic [0:0] data_status_9_12;
logic [0:0] data_status_9_13;
logic [0:0] data_status_9_14;
logic [0:0] data_status_9_15;

logic [10:0] data_size_10_0;
logic [10:0] data_size_10_1;
logic [10:0] data_size_10_2;
logic [10:0] data_size_10_3;
logic [10:0] data_size_10_4;
logic [10:0] data_size_10_5;
logic [10:0] data_size_10_6;
logic [10:0] data_size_10_7;
logic [10:0] data_size_10_8;
logic [10:0] data_size_10_9;
logic [10:0] data_size_10_10;
logic [10:0] data_size_10_11;
logic [10:0] data_size_10_12;
logic [10:0] data_size_10_13;
logic [10:0] data_size_10_14;
logic [10:0] data_size_10_15;
logic [2:0] data_pri_10_0;
logic [2:0] data_pri_10_1;
logic [2:0] data_pri_10_2;
logic [2:0] data_pri_10_3;
logic [2:0] data_pri_10_4;
logic [2:0] data_pri_10_5;
logic [2:0] data_pri_10_6;
logic [2:0] data_pri_10_7;
logic [2:0] data_pri_10_8;
logic [2:0] data_pri_10_9;
logic [2:0] data_pri_10_10;
logic [2:0] data_pri_10_11;
logic [2:0] data_pri_10_12;
logic [2:0] data_pri_10_13;
logic [2:0] data_pri_10_14;
logic [2:0] data_pri_10_15;
logic [0:0] wr_sop_10_0;
logic [0:0] wr_sop_10_1;
logic [0:0] wr_sop_10_2;
logic [0:0] wr_sop_10_3;
logic [0:0] wr_sop_10_4;
logic [0:0] wr_sop_10_5;
logic [0:0] wr_sop_10_6;
logic [0:0] wr_sop_10_7;
logic [0:0] wr_sop_10_8;
logic [0:0] wr_sop_10_9;
logic [0:0] wr_sop_10_10;
logic [0:0] wr_sop_10_11;
logic [0:0] wr_sop_10_12;
logic [0:0] wr_sop_10_13;
logic [0:0] wr_sop_10_14;
logic [0:0] wr_sop_10_15;
logic [0:0] wr_eop_10_0;
logic [0:0] wr_eop_10_1;
logic [0:0] wr_eop_10_2;
logic [0:0] wr_eop_10_3;
logic [0:0] wr_eop_10_4;
logic [0:0] wr_eop_10_5;
logic [0:0] wr_eop_10_6;
logic [0:0] wr_eop_10_7;
logic [0:0] wr_eop_10_8;
logic [0:0] wr_eop_10_9;
logic [0:0] wr_eop_10_10;
logic [0:0] wr_eop_10_11;
logic [0:0] wr_eop_10_12;
logic [0:0] wr_eop_10_13;
logic [0:0] wr_eop_10_14;
logic [0:0] wr_eop_10_15;
logic [35:0] wr_data_10_0;
logic [35:0] wr_data_10_1;
logic [35:0] wr_data_10_2;
logic [35:0] wr_data_10_3;
logic [35:0] wr_data_10_4;
logic [35:0] wr_data_10_5;
logic [35:0] wr_data_10_6;
logic [35:0] wr_data_10_7;
logic [35:0] wr_data_10_8;
logic [35:0] wr_data_10_9;
logic [35:0] wr_data_10_10;
logic [35:0] wr_data_10_11;
logic [35:0] wr_data_10_12;
logic [35:0] wr_data_10_13;
logic [35:0] wr_data_10_14;
logic [35:0] wr_data_10_15;
logic [0:0] wr_vld_10_0;
logic [0:0] wr_vld_10_1;
logic [0:0] wr_vld_10_2;
logic [0:0] wr_vld_10_3;
logic [0:0] wr_vld_10_4;
logic [0:0] wr_vld_10_5;
logic [0:0] wr_vld_10_6;
logic [0:0] wr_vld_10_7;
logic [0:0] wr_vld_10_8;
logic [0:0] wr_vld_10_9;
logic [0:0] wr_vld_10_10;
logic [0:0] wr_vld_10_11;
logic [0:0] wr_vld_10_12;
logic [0:0] wr_vld_10_13;
logic [0:0] wr_vld_10_14;
logic [0:0] wr_vld_10_15;                   
logic [0:0] data_status_10_0;
logic [0:0] data_status_10_1;
logic [0:0] data_status_10_2;
logic [0:0] data_status_10_3;
logic [0:0] data_status_10_4;
logic [0:0] data_status_10_5;
logic [0:0] data_status_10_6;
logic [0:0] data_status_10_7;
logic [0:0] data_status_10_8;
logic [0:0] data_status_10_9;
logic [0:0] data_status_10_10;
logic [0:0] data_status_10_11;
logic [0:0] data_status_10_12;
logic [0:0] data_status_10_13;
logic [0:0] data_status_10_14;
logic [0:0] data_status_10_15;

logic [10:0] data_size_11_0;
logic [10:0] data_size_11_1;
logic [10:0] data_size_11_2;
logic [10:0] data_size_11_3;
logic [10:0] data_size_11_4;
logic [10:0] data_size_11_5;
logic [10:0] data_size_11_6;
logic [10:0] data_size_11_7;
logic [10:0] data_size_11_8;
logic [10:0] data_size_11_9;
logic [10:0] data_size_11_10;
logic [10:0] data_size_11_11;
logic [10:0] data_size_11_12;
logic [10:0] data_size_11_13;
logic [10:0] data_size_11_14;
logic [10:0] data_size_11_15;
logic [2:0] data_pri_11_0;
logic [2:0] data_pri_11_1;
logic [2:0] data_pri_11_2;
logic [2:0] data_pri_11_3;
logic [2:0] data_pri_11_4;
logic [2:0] data_pri_11_5;
logic [2:0] data_pri_11_6;
logic [2:0] data_pri_11_7;
logic [2:0] data_pri_11_8;
logic [2:0] data_pri_11_9;
logic [2:0] data_pri_11_10;
logic [2:0] data_pri_11_11;
logic [2:0] data_pri_11_12;
logic [2:0] data_pri_11_13;
logic [2:0] data_pri_11_14;
logic [2:0] data_pri_11_15;
logic [0:0] wr_sop_11_0;
logic [0:0] wr_sop_11_1;
logic [0:0] wr_sop_11_2;
logic [0:0] wr_sop_11_3;
logic [0:0] wr_sop_11_4;
logic [0:0] wr_sop_11_5;
logic [0:0] wr_sop_11_6;
logic [0:0] wr_sop_11_7;
logic [0:0] wr_sop_11_8;
logic [0:0] wr_sop_11_9;
logic [0:0] wr_sop_11_10;
logic [0:0] wr_sop_11_11;
logic [0:0] wr_sop_11_12;
logic [0:0] wr_sop_11_13;
logic [0:0] wr_sop_11_14;
logic [0:0] wr_sop_11_15;
logic [0:0] wr_eop_11_0;
logic [0:0] wr_eop_11_1;
logic [0:0] wr_eop_11_2;
logic [0:0] wr_eop_11_3;
logic [0:0] wr_eop_11_4;
logic [0:0] wr_eop_11_5;
logic [0:0] wr_eop_11_6;
logic [0:0] wr_eop_11_7;
logic [0:0] wr_eop_11_8;
logic [0:0] wr_eop_11_9;
logic [0:0] wr_eop_11_10;
logic [0:0] wr_eop_11_11;
logic [0:0] wr_eop_11_12;
logic [0:0] wr_eop_11_13;
logic [0:0] wr_eop_11_14;
logic [0:0] wr_eop_11_15;
logic [35:0] wr_data_11_0;
logic [35:0] wr_data_11_1;
logic [35:0] wr_data_11_2;
logic [35:0] wr_data_11_3;
logic [35:0] wr_data_11_4;
logic [35:0] wr_data_11_5;
logic [35:0] wr_data_11_6;
logic [35:0] wr_data_11_7;
logic [35:0] wr_data_11_8;
logic [35:0] wr_data_11_9;
logic [35:0] wr_data_11_10;
logic [35:0] wr_data_11_11;
logic [35:0] wr_data_11_12;
logic [35:0] wr_data_11_13;
logic [35:0] wr_data_11_14;
logic [35:0] wr_data_11_15;
logic [0:0] wr_vld_11_0;
logic [0:0] wr_vld_11_1;
logic [0:0] wr_vld_11_2;
logic [0:0] wr_vld_11_3;
logic [0:0] wr_vld_11_4;
logic [0:0] wr_vld_11_5;
logic [0:0] wr_vld_11_6;
logic [0:0] wr_vld_11_7;
logic [0:0] wr_vld_11_8;
logic [0:0] wr_vld_11_9;
logic [0:0] wr_vld_11_10;
logic [0:0] wr_vld_11_11;
logic [0:0] wr_vld_11_12;
logic [0:0] wr_vld_11_13;
logic [0:0] wr_vld_11_14;
logic [0:0] wr_vld_11_15;                   
logic [0:0] data_status_11_0;
logic [0:0] data_status_11_1;
logic [0:0] data_status_11_2;
logic [0:0] data_status_11_3;
logic [0:0] data_status_11_4;
logic [0:0] data_status_11_5;
logic [0:0] data_status_11_6;
logic [0:0] data_status_11_7;
logic [0:0] data_status_11_8;
logic [0:0] data_status_11_9;
logic [0:0] data_status_11_10;
logic [0:0] data_status_11_11;
logic [0:0] data_status_11_12;
logic [0:0] data_status_11_13;
logic [0:0] data_status_11_14;
logic [0:0] data_status_11_15;

logic [10:0] data_size_12_0;
logic [10:0] data_size_12_1;
logic [10:0] data_size_12_2;
logic [10:0] data_size_12_3;
logic [10:0] data_size_12_4;
logic [10:0] data_size_12_5;
logic [10:0] data_size_12_6;
logic [10:0] data_size_12_7;
logic [10:0] data_size_12_8;
logic [10:0] data_size_12_9;
logic [10:0] data_size_12_10;
logic [10:0] data_size_12_11;
logic [10:0] data_size_12_12;
logic [10:0] data_size_12_13;
logic [10:0] data_size_12_14;
logic [10:0] data_size_12_15;
logic [2:0] data_pri_12_0;
logic [2:0] data_pri_12_1;
logic [2:0] data_pri_12_2;
logic [2:0] data_pri_12_3;
logic [2:0] data_pri_12_4;
logic [2:0] data_pri_12_5;
logic [2:0] data_pri_12_6;
logic [2:0] data_pri_12_7;
logic [2:0] data_pri_12_8;
logic [2:0] data_pri_12_9;
logic [2:0] data_pri_12_10;
logic [2:0] data_pri_12_11;
logic [2:0] data_pri_12_12;
logic [2:0] data_pri_12_13;
logic [2:0] data_pri_12_14;
logic [2:0] data_pri_12_15;
logic [0:0] wr_sop_12_0;
logic [0:0] wr_sop_12_1;
logic [0:0] wr_sop_12_2;
logic [0:0] wr_sop_12_3;
logic [0:0] wr_sop_12_4;
logic [0:0] wr_sop_12_5;
logic [0:0] wr_sop_12_6;
logic [0:0] wr_sop_12_7;
logic [0:0] wr_sop_12_8;
logic [0:0] wr_sop_12_9;
logic [0:0] wr_sop_12_10;
logic [0:0] wr_sop_12_11;
logic [0:0] wr_sop_12_12;
logic [0:0] wr_sop_12_13;
logic [0:0] wr_sop_12_14;
logic [0:0] wr_sop_12_15;
logic [0:0] wr_eop_12_0;
logic [0:0] wr_eop_12_1;
logic [0:0] wr_eop_12_2;
logic [0:0] wr_eop_12_3;
logic [0:0] wr_eop_12_4;
logic [0:0] wr_eop_12_5;
logic [0:0] wr_eop_12_6;
logic [0:0] wr_eop_12_7;
logic [0:0] wr_eop_12_8;
logic [0:0] wr_eop_12_9;
logic [0:0] wr_eop_12_10;
logic [0:0] wr_eop_12_11;
logic [0:0] wr_eop_12_12;
logic [0:0] wr_eop_12_13;
logic [0:0] wr_eop_12_14;
logic [0:0] wr_eop_12_15;
logic [35:0] wr_data_12_0;
logic [35:0] wr_data_12_1;
logic [35:0] wr_data_12_2;
logic [35:0] wr_data_12_3;
logic [35:0] wr_data_12_4;
logic [35:0] wr_data_12_5;
logic [35:0] wr_data_12_6;
logic [35:0] wr_data_12_7;
logic [35:0] wr_data_12_8;
logic [35:0] wr_data_12_9;
logic [35:0] wr_data_12_10;
logic [35:0] wr_data_12_11;
logic [35:0] wr_data_12_12;
logic [35:0] wr_data_12_13;
logic [35:0] wr_data_12_14;
logic [35:0] wr_data_12_15;
logic [0:0] wr_vld_12_0;
logic [0:0] wr_vld_12_1;
logic [0:0] wr_vld_12_2;
logic [0:0] wr_vld_12_3;
logic [0:0] wr_vld_12_4;
logic [0:0] wr_vld_12_5;
logic [0:0] wr_vld_12_6;
logic [0:0] wr_vld_12_7;
logic [0:0] wr_vld_12_8;
logic [0:0] wr_vld_12_9;
logic [0:0] wr_vld_12_10;
logic [0:0] wr_vld_12_11;
logic [0:0] wr_vld_12_12;
logic [0:0] wr_vld_12_13;
logic [0:0] wr_vld_12_14;
logic [0:0] wr_vld_12_15;                   
logic [0:0] data_status_12_0;
logic [0:0] data_status_12_1;
logic [0:0] data_status_12_2;
logic [0:0] data_status_12_3;
logic [0:0] data_status_12_4;
logic [0:0] data_status_12_5;
logic [0:0] data_status_12_6;
logic [0:0] data_status_12_7;
logic [0:0] data_status_12_8;
logic [0:0] data_status_12_9;
logic [0:0] data_status_12_10;
logic [0:0] data_status_12_11;
logic [0:0] data_status_12_12;
logic [0:0] data_status_12_13;
logic [0:0] data_status_12_14;
logic [0:0] data_status_12_15;

logic [10:0] data_size_13_0;
logic [10:0] data_size_13_1;
logic [10:0] data_size_13_2;
logic [10:0] data_size_13_3;
logic [10:0] data_size_13_4;
logic [10:0] data_size_13_5;
logic [10:0] data_size_13_6;
logic [10:0] data_size_13_7;
logic [10:0] data_size_13_8;
logic [10:0] data_size_13_9;
logic [10:0] data_size_13_10;
logic [10:0] data_size_13_11;
logic [10:0] data_size_13_12;
logic [10:0] data_size_13_13;
logic [10:0] data_size_13_14;
logic [10:0] data_size_13_15;
logic [2:0] data_pri_13_0;
logic [2:0] data_pri_13_1;
logic [2:0] data_pri_13_2;
logic [2:0] data_pri_13_3;
logic [2:0] data_pri_13_4;
logic [2:0] data_pri_13_5;
logic [2:0] data_pri_13_6;
logic [2:0] data_pri_13_7;
logic [2:0] data_pri_13_8;
logic [2:0] data_pri_13_9;
logic [2:0] data_pri_13_10;
logic [2:0] data_pri_13_11;
logic [2:0] data_pri_13_12;
logic [2:0] data_pri_13_13;
logic [2:0] data_pri_13_14;
logic [2:0] data_pri_13_15;
logic [0:0] wr_sop_13_0;
logic [0:0] wr_sop_13_1;
logic [0:0] wr_sop_13_2;
logic [0:0] wr_sop_13_3;
logic [0:0] wr_sop_13_4;
logic [0:0] wr_sop_13_5;
logic [0:0] wr_sop_13_6;
logic [0:0] wr_sop_13_7;
logic [0:0] wr_sop_13_8;
logic [0:0] wr_sop_13_9;
logic [0:0] wr_sop_13_10;
logic [0:0] wr_sop_13_11;
logic [0:0] wr_sop_13_12;
logic [0:0] wr_sop_13_13;
logic [0:0] wr_sop_13_14;
logic [0:0] wr_sop_13_15;
logic [0:0] wr_eop_13_0;
logic [0:0] wr_eop_13_1;
logic [0:0] wr_eop_13_2;
logic [0:0] wr_eop_13_3;
logic [0:0] wr_eop_13_4;
logic [0:0] wr_eop_13_5;
logic [0:0] wr_eop_13_6;
logic [0:0] wr_eop_13_7;
logic [0:0] wr_eop_13_8;
logic [0:0] wr_eop_13_9;
logic [0:0] wr_eop_13_10;
logic [0:0] wr_eop_13_11;
logic [0:0] wr_eop_13_12;
logic [0:0] wr_eop_13_13;
logic [0:0] wr_eop_13_14;
logic [0:0] wr_eop_13_15;
logic [35:0] wr_data_13_0;
logic [35:0] wr_data_13_1;
logic [35:0] wr_data_13_2;
logic [35:0] wr_data_13_3;
logic [35:0] wr_data_13_4;
logic [35:0] wr_data_13_5;
logic [35:0] wr_data_13_6;
logic [35:0] wr_data_13_7;
logic [35:0] wr_data_13_8;
logic [35:0] wr_data_13_9;
logic [35:0] wr_data_13_10;
logic [35:0] wr_data_13_11;
logic [35:0] wr_data_13_12;
logic [35:0] wr_data_13_13;
logic [35:0] wr_data_13_14;
logic [35:0] wr_data_13_15;
logic [0:0] wr_vld_13_0;
logic [0:0] wr_vld_13_1;
logic [0:0] wr_vld_13_2;
logic [0:0] wr_vld_13_3;
logic [0:0] wr_vld_13_4;
logic [0:0] wr_vld_13_5;
logic [0:0] wr_vld_13_6;
logic [0:0] wr_vld_13_7;
logic [0:0] wr_vld_13_8;
logic [0:0] wr_vld_13_9;
logic [0:0] wr_vld_13_10;
logic [0:0] wr_vld_13_11;
logic [0:0] wr_vld_13_12;
logic [0:0] wr_vld_13_13;
logic [0:0] wr_vld_13_14;
logic [0:0] wr_vld_13_15;                   
logic [0:0] data_status_13_0;
logic [0:0] data_status_13_1;
logic [0:0] data_status_13_2;
logic [0:0] data_status_13_3;
logic [0:0] data_status_13_4;
logic [0:0] data_status_13_5;
logic [0:0] data_status_13_6;
logic [0:0] data_status_13_7;
logic [0:0] data_status_13_8;
logic [0:0] data_status_13_9;
logic [0:0] data_status_13_10;
logic [0:0] data_status_13_11;
logic [0:0] data_status_13_12;
logic [0:0] data_status_13_13;
logic [0:0] data_status_13_14;
logic [0:0] data_status_13_15;

logic [10:0] data_size_14_0;
logic [10:0] data_size_14_1;
logic [10:0] data_size_14_2;
logic [10:0] data_size_14_3;
logic [10:0] data_size_14_4;
logic [10:0] data_size_14_5;
logic [10:0] data_size_14_6;
logic [10:0] data_size_14_7;
logic [10:0] data_size_14_8;
logic [10:0] data_size_14_9;
logic [10:0] data_size_14_10;
logic [10:0] data_size_14_11;
logic [10:0] data_size_14_12;
logic [10:0] data_size_14_13;
logic [10:0] data_size_14_14;
logic [10:0] data_size_14_15;
logic [2:0] data_pri_14_0;
logic [2:0] data_pri_14_1;
logic [2:0] data_pri_14_2;
logic [2:0] data_pri_14_3;
logic [2:0] data_pri_14_4;
logic [2:0] data_pri_14_5;
logic [2:0] data_pri_14_6;
logic [2:0] data_pri_14_7;
logic [2:0] data_pri_14_8;
logic [2:0] data_pri_14_9;
logic [2:0] data_pri_14_10;
logic [2:0] data_pri_14_11;
logic [2:0] data_pri_14_12;
logic [2:0] data_pri_14_13;
logic [2:0] data_pri_14_14;
logic [2:0] data_pri_14_15;
logic [0:0] wr_sop_14_0;
logic [0:0] wr_sop_14_1;
logic [0:0] wr_sop_14_2;
logic [0:0] wr_sop_14_3;
logic [0:0] wr_sop_14_4;
logic [0:0] wr_sop_14_5;
logic [0:0] wr_sop_14_6;
logic [0:0] wr_sop_14_7;
logic [0:0] wr_sop_14_8;
logic [0:0] wr_sop_14_9;
logic [0:0] wr_sop_14_10;
logic [0:0] wr_sop_14_11;
logic [0:0] wr_sop_14_12;
logic [0:0] wr_sop_14_13;
logic [0:0] wr_sop_14_14;
logic [0:0] wr_sop_14_15;
logic [0:0] wr_eop_14_0;
logic [0:0] wr_eop_14_1;
logic [0:0] wr_eop_14_2;
logic [0:0] wr_eop_14_3;
logic [0:0] wr_eop_14_4;
logic [0:0] wr_eop_14_5;
logic [0:0] wr_eop_14_6;
logic [0:0] wr_eop_14_7;
logic [0:0] wr_eop_14_8;
logic [0:0] wr_eop_14_9;
logic [0:0] wr_eop_14_10;
logic [0:0] wr_eop_14_11;
logic [0:0] wr_eop_14_12;
logic [0:0] wr_eop_14_13;
logic [0:0] wr_eop_14_14;
logic [0:0] wr_eop_14_15;
logic [35:0] wr_data_14_0;
logic [35:0] wr_data_14_1;
logic [35:0] wr_data_14_2;
logic [35:0] wr_data_14_3;
logic [35:0] wr_data_14_4;
logic [35:0] wr_data_14_5;
logic [35:0] wr_data_14_6;
logic [35:0] wr_data_14_7;
logic [35:0] wr_data_14_8;
logic [35:0] wr_data_14_9;
logic [35:0] wr_data_14_10;
logic [35:0] wr_data_14_11;
logic [35:0] wr_data_14_12;
logic [35:0] wr_data_14_13;
logic [35:0] wr_data_14_14;
logic [35:0] wr_data_14_15;
logic [0:0] wr_vld_14_0;
logic [0:0] wr_vld_14_1;
logic [0:0] wr_vld_14_2;
logic [0:0] wr_vld_14_3;
logic [0:0] wr_vld_14_4;
logic [0:0] wr_vld_14_5;
logic [0:0] wr_vld_14_6;
logic [0:0] wr_vld_14_7;
logic [0:0] wr_vld_14_8;
logic [0:0] wr_vld_14_9;
logic [0:0] wr_vld_14_10;
logic [0:0] wr_vld_14_11;
logic [0:0] wr_vld_14_12;
logic [0:0] wr_vld_14_13;
logic [0:0] wr_vld_14_14;
logic [0:0] wr_vld_14_15;                   
logic [0:0] data_status_14_0;
logic [0:0] data_status_14_1;
logic [0:0] data_status_14_2;
logic [0:0] data_status_14_3;
logic [0:0] data_status_14_4;
logic [0:0] data_status_14_5;
logic [0:0] data_status_14_6;
logic [0:0] data_status_14_7;
logic [0:0] data_status_14_8;
logic [0:0] data_status_14_9;
logic [0:0] data_status_14_10;
logic [0:0] data_status_14_11;
logic [0:0] data_status_14_12;
logic [0:0] data_status_14_13;
logic [0:0] data_status_14_14;
logic [0:0] data_status_14_15;

logic [10:0] data_size_15_0;
logic [10:0] data_size_15_1;
logic [10:0] data_size_15_2;
logic [10:0] data_size_15_3;
logic [10:0] data_size_15_4;
logic [10:0] data_size_15_5;
logic [10:0] data_size_15_6;
logic [10:0] data_size_15_7;
logic [10:0] data_size_15_8;
logic [10:0] data_size_15_9;
logic [10:0] data_size_15_10;
logic [10:0] data_size_15_11;
logic [10:0] data_size_15_12;
logic [10:0] data_size_15_13;
logic [10:0] data_size_15_14;
logic [10:0] data_size_15_15;
logic [2:0] data_pri_15_0;
logic [2:0] data_pri_15_1;
logic [2:0] data_pri_15_2;
logic [2:0] data_pri_15_3;
logic [2:0] data_pri_15_4;
logic [2:0] data_pri_15_5;
logic [2:0] data_pri_15_6;
logic [2:0] data_pri_15_7;
logic [2:0] data_pri_15_8;
logic [2:0] data_pri_15_9;
logic [2:0] data_pri_15_10;
logic [2:0] data_pri_15_11;
logic [2:0] data_pri_15_12;
logic [2:0] data_pri_15_13;
logic [2:0] data_pri_15_14;
logic [2:0] data_pri_15_15;
logic [0:0] wr_sop_15_0;
logic [0:0] wr_sop_15_1;
logic [0:0] wr_sop_15_2;
logic [0:0] wr_sop_15_3;
logic [0:0] wr_sop_15_4;
logic [0:0] wr_sop_15_5;
logic [0:0] wr_sop_15_6;
logic [0:0] wr_sop_15_7;
logic [0:0] wr_sop_15_8;
logic [0:0] wr_sop_15_9;
logic [0:0] wr_sop_15_10;
logic [0:0] wr_sop_15_11;
logic [0:0] wr_sop_15_12;
logic [0:0] wr_sop_15_13;
logic [0:0] wr_sop_15_14;
logic [0:0] wr_sop_15_15;
logic [0:0] wr_eop_15_0;
logic [0:0] wr_eop_15_1;
logic [0:0] wr_eop_15_2;
logic [0:0] wr_eop_15_3;
logic [0:0] wr_eop_15_4;
logic [0:0] wr_eop_15_5;
logic [0:0] wr_eop_15_6;
logic [0:0] wr_eop_15_7;
logic [0:0] wr_eop_15_8;
logic [0:0] wr_eop_15_9;
logic [0:0] wr_eop_15_10;
logic [0:0] wr_eop_15_11;
logic [0:0] wr_eop_15_12;
logic [0:0] wr_eop_15_13;
logic [0:0] wr_eop_15_14;
logic [0:0] wr_eop_15_15;
logic [35:0] wr_data_15_0;
logic [35:0] wr_data_15_1;
logic [35:0] wr_data_15_2;
logic [35:0] wr_data_15_3;
logic [35:0] wr_data_15_4;
logic [35:0] wr_data_15_5;
logic [35:0] wr_data_15_6;
logic [35:0] wr_data_15_7;
logic [35:0] wr_data_15_8;
logic [35:0] wr_data_15_9;
logic [35:0] wr_data_15_10;
logic [35:0] wr_data_15_11;
logic [35:0] wr_data_15_12;
logic [35:0] wr_data_15_13;
logic [35:0] wr_data_15_14;
logic [35:0] wr_data_15_15;
logic [0:0] wr_vld_15_0;
logic [0:0] wr_vld_15_1;
logic [0:0] wr_vld_15_2;
logic [0:0] wr_vld_15_3;
logic [0:0] wr_vld_15_4;
logic [0:0] wr_vld_15_5;
logic [0:0] wr_vld_15_6;
logic [0:0] wr_vld_15_7;
logic [0:0] wr_vld_15_8;
logic [0:0] wr_vld_15_9;
logic [0:0] wr_vld_15_10;
logic [0:0] wr_vld_15_11;
logic [0:0] wr_vld_15_12;
logic [0:0] wr_vld_15_13;
logic [0:0] wr_vld_15_14;
logic [0:0] wr_vld_15_15;                   
logic [0:0] data_status_15_0;
logic [0:0] data_status_15_1;
logic [0:0] data_status_15_2;
logic [0:0] data_status_15_3;
logic [0:0] data_status_15_4;
logic [0:0] data_status_15_5;
logic [0:0] data_status_15_6;
logic [0:0] data_status_15_7;
logic [0:0] data_status_15_8;
logic [0:0] data_status_15_9;
logic [0:0] data_status_15_10;
logic [0:0] data_status_15_11;
logic [0:0] data_status_15_12;
logic [0:0] data_status_15_13;
logic [0:0] data_status_15_14;
logic [0:0] data_status_15_15;
always_ff @(posedge CLK or negedge RST_N) begin
    if(!RST_N)begin
        cc_st_0.ST_REQ  <= '0;
    end
    else
        cc_st_0.ST_REQ <=  (de_cc_0.DATA_DEST==0 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==0 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==0 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==0 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==0 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==0 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==0 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==0 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==0 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==0 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==0 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==0 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==0 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==0 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==0 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==0 && de_cc_15.REQ);
                end
assign cc_st_0.SRAM_SHARE = '0;
assign cc_st_0.SRAM_SHARE_VLD = '0;
assign cc_st_0.ST_REQ_DATA = de_cc_0.DATA_PRIO;
assign cc_st_1.ST_REQ = (de_cc_0.DATA_DEST==1 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==1 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==1 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==1 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==1 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==1 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==1 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==1 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==1 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==1 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==1 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==1 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==1 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==1 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==1 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==1 && de_cc_15.REQ);
assign cc_st_2.ST_REQ = (de_cc_0.DATA_DEST==2 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==2 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==2 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==2 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==2 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==2 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==2 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==2 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==2 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==2 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==2 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==2 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==2 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==2 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==2 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==2 && de_cc_15.REQ);
assign cc_st_3.ST_REQ = (de_cc_0.DATA_DEST==3 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==3 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==3 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==3 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==3 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==3 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==3 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==3 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==3 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==3 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==3 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==3 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==3 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==3 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==3 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==3 && de_cc_15.REQ);
assign cc_st_4.ST_REQ = (de_cc_0.DATA_DEST==4 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==4 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==4 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==4 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==4 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==4 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==4 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==4 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==4 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==4 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==4 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==4 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==4 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==4 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==4 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==4 && de_cc_15.REQ);
assign cc_st_5.ST_REQ = (de_cc_0.DATA_DEST==5 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==5 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==5 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==5 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==5 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==5 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==5 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==5 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==5 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==5 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==5 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==5 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==5 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==5 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==5 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==5 && de_cc_15.REQ);
assign cc_st_6.ST_REQ = (de_cc_0.DATA_DEST==6 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==6 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==6 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==6 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==6 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==6 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==6 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==6 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==6 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==6 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==6 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==6 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==6 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==6 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==6 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==6 && de_cc_15.REQ);
assign cc_st_7.ST_REQ = (de_cc_0.DATA_DEST==7 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==7 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==7 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==7 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==7 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==7 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==7 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==7 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==7 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==7 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==7 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==7 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==7 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==7 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==7 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==7 && de_cc_15.REQ);
assign cc_st_8.ST_REQ = (de_cc_0.DATA_DEST==8 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==8 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==8 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==8 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==8 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==8 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==8 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==8 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==8 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==8 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==8 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==8 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==8 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==8 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==8 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==8 && de_cc_15.REQ);
assign cc_st_9.ST_REQ = (de_cc_0.DATA_DEST==9 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==9 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==9 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==9 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==9 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==9 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==9 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==9 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==9 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==9 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==9 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==9 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==9 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==9 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==9 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==9 && de_cc_15.REQ);
assign cc_st_10.ST_REQ = (de_cc_0.DATA_DEST==10 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==10 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==10 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==10 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==10 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==10 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==10 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==10 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==10 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==10 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==10 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==10 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==10 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==10 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==10 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==10 && de_cc_15.REQ);
assign cc_st_11.ST_REQ = (de_cc_0.DATA_DEST==11 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==11 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==11 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==11 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==11 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==11 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==11 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==11 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==11 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==11 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==11 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==11 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==11 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==11 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==11 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==11 && de_cc_15.REQ);
assign cc_st_12.ST_REQ = (de_cc_0.DATA_DEST==12 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==12 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==12 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==12 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==12 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==12 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==12 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==12 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==12 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==12 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==12 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==12 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==12 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==12 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==12 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==12 && de_cc_15.REQ);
assign cc_st_13.ST_REQ = (de_cc_0.DATA_DEST==13 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==13 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==13 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==13 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==13 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==13 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==13 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==13 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==13 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==13 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==13 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==13 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==13 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==13 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==13 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==13 && de_cc_15.REQ);
assign cc_st_14.ST_REQ = (de_cc_0.DATA_DEST==14 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==14 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==14 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==14 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==14 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==14 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==14 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==14 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==14 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==14 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==14 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==14 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==14 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==14 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==14 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==14 && de_cc_15.REQ);
assign cc_st_15.ST_REQ = (de_cc_0.DATA_DEST==15 && de_cc_0.REQ) ||
                        (de_cc_1.DATA_DEST==15 && de_cc_1.REQ) ||
                        (de_cc_2.DATA_DEST==15 && de_cc_2.REQ) ||
                        (de_cc_3.DATA_DEST==15 && de_cc_3.REQ) ||
                        (de_cc_4.DATA_DEST==15 && de_cc_4.REQ) ||
                        (de_cc_5.DATA_DEST==15 && de_cc_5.REQ) ||
                        (de_cc_6.DATA_DEST==15 && de_cc_6.REQ) ||
                        (de_cc_7.DATA_DEST==15 && de_cc_7.REQ) ||
                        (de_cc_8.DATA_DEST==15 && de_cc_8.REQ) ||
                        (de_cc_9.DATA_DEST==15 && de_cc_9.REQ) ||
                        (de_cc_10.DATA_DEST==15 && de_cc_10.REQ) ||
                        (de_cc_11.DATA_DEST==15 && de_cc_11.REQ) ||
                        (de_cc_12.DATA_DEST==15 && de_cc_12.REQ) ||
                        (de_cc_13.DATA_DEST==15 && de_cc_13.REQ) ||
                        (de_cc_14.DATA_DEST==15 && de_cc_14.REQ) ||
                        (de_cc_15.DATA_DEST==15 && de_cc_15.REQ);

//二、判断是丢包还是缓存还是直传

//1.丢包：如果这个优先级的full拉高
always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[0]<=1'b0;
    end
    else begin
        case(de_cc_0.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_0.DATA_PRIO===3'd000 || 
                cc_st_0.FULL[1] && de_cc_0.DATA_PRIO===3'd001 ||
                cc_st_0.FULL[2] && de_cc_0.DATA_PRIO===3'd010 ||
                cc_st_0.FULL[3] && de_cc_0.DATA_PRIO===3'd011 ||
                cc_st_0.FULL[4] && de_cc_0.DATA_PRIO===3'd100 ||
                cc_st_0.FULL[5] && de_cc_0.DATA_PRIO===3'd101 ||
                cc_st_0.FULL[6] && de_cc_0.DATA_PRIO===3'd110 ||
                cc_st_0.FULL[7] && de_cc_0.DATA_PRIO===3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_0.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_0.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_0.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_0.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_0.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_0.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_0.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_0.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        default: begin
            diu_bao[0]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[1]<=1'b0;
    end
    else begin
        case(de_cc_1.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_1.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_1.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_1.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_1.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_1.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_1.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_1.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_1.DATA_PRIO==3'd111)
            diu_bao[1]<=1'b1;
            else diu_bao[1]<=1'b0;
        end

        default: begin
            diu_bao[1]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[2]<=1'b0;
    end
    else begin
        case(de_cc_2.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_2.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_2.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_2.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_2.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_2.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_2.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_2.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_2.DATA_PRIO==3'd111)
            diu_bao[2]<=1'b1;
            else diu_bao[2]<=1'b0;
        end

        default: begin
            diu_bao[2]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[3]<=1'b0;
    end
    else begin
        case(de_cc_3.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_3.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_3.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_3.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_3.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_3.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_3.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_3.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_3.DATA_PRIO==3'd111)
            diu_bao[3]<=1'b1;
            else diu_bao[3]<=1'b0;
        end

        default: begin
            diu_bao[3]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[4]<=1'b0;
    end
    else begin
        case(de_cc_4.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_4.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_4.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_4.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_4.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_4.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_4.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_4.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_4.DATA_PRIO==3'd111)
            diu_bao[4]<=1'b1;
            else diu_bao[4]<=1'b0;
        end

        default: begin
            diu_bao[4]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[5]<=1'b0;
    end
    else begin
        case(de_cc_5.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_5.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_5.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_5.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_5.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_5.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_5.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_5.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_5.DATA_PRIO==3'd111)
            diu_bao[5]<=1'b1;
            else diu_bao[5]<=1'b0;
        end

        default: begin
            diu_bao[5]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[6]<=1'b0;
    end
    else begin
        case(de_cc_6.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_6.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_6.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_6.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_6.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_6.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_6.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_6.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_6.DATA_PRIO==3'd111)
            diu_bao[6]<=1'b1;
            else diu_bao[6]<=1'b0;
        end

        default: begin
            diu_bao[6]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[7]<=1'b0;
    end
    else begin
        case(de_cc_7.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_7.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_7.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_7.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_7.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_7.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_7.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_7.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_7.DATA_PRIO==3'd111)
            diu_bao[7]<=1'b1;
            else diu_bao[7]<=1'b0;
        end

        default: begin
            diu_bao[7]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[8]<=1'b0;
    end
    else begin
        case(de_cc_8.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_8.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_8.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_8.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_8.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_8.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_8.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_8.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_8.DATA_PRIO==3'd111)
            diu_bao[8]<=1'b1;
            else diu_bao[8]<=1'b0;
        end

        default: begin
            diu_bao[8]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[9]<=1'b0;
    end
    else begin
        case(de_cc_9.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_9.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_9.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_9.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_9.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_9.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_9.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_9.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_9.DATA_PRIO==3'd111)
            diu_bao[9]<=1'b1;
            else diu_bao[9]<=1'b0;
        end

        default: begin
            diu_bao[9]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[10]<=1'b0;
    end
    else begin
        case(de_cc_10.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_10.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_10.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_10.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_10.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_10.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_10.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_10.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_10.DATA_PRIO==3'd111)
            diu_bao[10]<=1'b1;
            else diu_bao[10]<=1'b0;
        end

        default: begin
            diu_bao[10]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[11]<=1'b0;
    end
    else begin
        case(de_cc_11.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_11.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_11.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_11.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_11.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_11.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_11.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_11.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_11.DATA_PRIO==3'd111)
            diu_bao[11]<=1'b1;
            else diu_bao[11]<=1'b0;
        end

        default: begin
            diu_bao[11]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[12]<=1'b0;
    end
    else begin
        case(de_cc_12.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_12.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_12.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_12.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_12.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_12.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_12.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_12.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_12.DATA_PRIO==3'd111)
            diu_bao[12]<=1'b1;
            else diu_bao[12]<=1'b0;
        end

        default: begin
            diu_bao[12]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[13]<=1'b0;
    end
    else begin
        case(de_cc_13.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_13.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_13.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_13.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_13.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_13.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_13.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_13.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_13.DATA_PRIO==3'd111)
            diu_bao[13]<=1'b1;
            else diu_bao[13]<=1'b0;
        end

        default: begin
            diu_bao[13]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[14]<=1'b0;
    end
    else begin
        case(de_cc_14.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_14.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_14.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_14.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_14.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_14.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_14.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_14.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_14.DATA_PRIO==3'd111)
            diu_bao[14]<=1'b1;
            else diu_bao[14]<=1'b0;
        end

        default: begin
            diu_bao[14]<=1'b1;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        diu_bao[15]<=1'b0;
    end
    else begin
        case(de_cc_15.DATA_DEST)
        4'd0: begin
            if( cc_st_0.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_0.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_0.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_0.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_0.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_0.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_0.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_0.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end
        
        4'd1: begin
            if( cc_st_1.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_1.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_1.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_1.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_1.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_1.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_1.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_1.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[0]<=1'b1;
            else diu_bao[0]<=1'b0;
        end

        4'd2: begin
            if( cc_st_2.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_2.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_2.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_2.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_2.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_2.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_2.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_2.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd3: begin
            if( cc_st_3.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_3.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_3.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_3.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_3.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_3.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_3.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_3.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd4: begin
            if( cc_st_4.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_4.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_4.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_4.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_4.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_4.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_4.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_4.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd5: begin
            if( cc_st_5.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_5.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_5.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_5.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_5.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_5.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_5.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_5.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd6: begin
            if( cc_st_6.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_6.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_6.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_6.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_6.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_6.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_6.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_6.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd7: begin
            if( cc_st_7.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_7.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_7.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_7.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_7.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_7.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_7.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_7.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd8: begin
            if( cc_st_8.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_8.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_8.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_8.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_8.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_8.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_8.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_8.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd9: begin
            if( cc_st_9.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_9.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_9.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_9.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_9.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_9.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_9.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_9.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd10: begin
            if( cc_st_10.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_10.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_10.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_10.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_10.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_10.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_10.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_10.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd11: begin
            if( cc_st_11.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_11.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_11.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_11.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_11.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_11.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_11.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_11.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd12: begin
            if( cc_st_12.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_12.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_12.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_12.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_12.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_12.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_12.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_12.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd13: begin
            if( cc_st_13.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_13.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_13.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_13.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_13.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_13.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_13.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_13.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd14: begin
            if( cc_st_14.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_14.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_14.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_14.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_14.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_14.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_14.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_14.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        4'd15: begin
            if( cc_st_15.FULL[0] && de_cc_15.DATA_PRIO==3'd000 || 
                cc_st_15.FULL[1] && de_cc_15.DATA_PRIO==3'd001 ||
                cc_st_15.FULL[2] && de_cc_15.DATA_PRIO==3'd010 ||
                cc_st_15.FULL[3] && de_cc_15.DATA_PRIO==3'd011 ||
                cc_st_15.FULL[4] && de_cc_15.DATA_PRIO==3'd100 ||
                cc_st_15.FULL[5] && de_cc_15.DATA_PRIO==3'd101 ||
                cc_st_15.FULL[6] && de_cc_15.DATA_PRIO==3'd110 ||
                cc_st_15.FULL[7] && de_cc_15.DATA_PRIO==3'd111)
            diu_bao[15]<=1'b1;
            else diu_bao[15]<=1'b0;
        end

        default: begin
            diu_bao[15]<=1'b1;
        end
        endcase
    end
end

//2.直传：相应优先级（最高优先级）ready（由rd_addr_gen传入）拉高（读），相应优先级的empty拉高
always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[0]<=1'b0;
    end
    else begin
        case(de_cc_0.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_0.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_0.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_0.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[0]<=1'b1;
            else zhi_chuan[0]<=1'b0;
        end

        default: begin
            zhi_chuan[0]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[1]<=1'b0;
    end
    else begin
        case(de_cc_1.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_1.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_1.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_1.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[1]<=1'b1;
            else zhi_chuan[1]<=1'b0;
        end

        default: begin
            zhi_chuan[1]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[2]<=1'b0;
    end
    else begin
        case(de_cc_2.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_2.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_2.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_2.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[2]<=1'b1;
            else zhi_chuan[2]<=1'b0;
        end

        default: begin
            zhi_chuan[2]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[3]<=1'b0;
    end
    else begin
        case(de_cc_3.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_3.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_3.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_3.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[3]<=1'b1;
            else zhi_chuan[3]<=1'b0;
        end

        default: begin
            zhi_chuan[3]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[4]<=1'b0;
    end
    else begin
        case(de_cc_4.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_4.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_4.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_4.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[4]<=1'b1;
            else zhi_chuan[4]<=1'b0;
        end

        default: begin
            zhi_chuan[4]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[5]<=1'b0;
    end
    else begin
        case(de_cc_5.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_5.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_5.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_5.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[5]<=1'b1;
            else zhi_chuan[5]<=1'b0;
        end

        default: begin
            zhi_chuan[5]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[6]<=1'b0;
    end
    else begin
        case(de_cc_6.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_6.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_6.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_6.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[6]<=1'b1;
            else zhi_chuan[6]<=1'b0;
        end

        default: begin
            zhi_chuan[6]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[7]<=1'b0;
    end
    else begin
        case(de_cc_7.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_7.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_7.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_7.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[7]<=1'b1;
            else zhi_chuan[7]<=1'b0;
        end

        default: begin
            zhi_chuan[7]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[8]<=1'b0;
    end
    else begin
        case(de_cc_8.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_8.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_8.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_8.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[8]<=1'b1;
            else zhi_chuan[8]<=1'b0;
        end

        default: begin
            zhi_chuan[8]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[9]<=1'b0;
    end
    else begin
        case(de_cc_9.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_9.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_9.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_9.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[9]<=1'b1;
            else zhi_chuan[9]<=1'b0;
        end

        default: begin
            zhi_chuan[9]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[10]<=1'b0;
    end
    else begin
        case(de_cc_10.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_10.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_10.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_10.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[10]<=1'b1;
            else zhi_chuan[10]<=1'b0;
        end

        default: begin
            zhi_chuan[10]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[11]<=1'b0;
    end
    else begin
        case(de_cc_11.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_11.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_11.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_11.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[11]<=1'b1;
            else zhi_chuan[11]<=1'b0;
        end

        default: begin
            zhi_chuan[11]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[12]<=1'b0;
    end
    else begin
        case(de_cc_12.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_12.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_12.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_12.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[12]<=1'b1;
            else zhi_chuan[12]<=1'b0;
        end

        default: begin
            zhi_chuan[12]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[13]<=1'b0;
    end
    else begin
        case(de_cc_13.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_13.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_13.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_13.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[13]<=1'b1;
            else zhi_chuan[13]<=1'b0;
        end

        default: begin
            zhi_chuan[13]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[14]<=1'b0;
    end
    else begin
        case(de_cc_14.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_14.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_14.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_14.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[14]<=1'b1;
            else zhi_chuan[14]<=1'b0;
        end

        default: begin
            zhi_chuan[14]<=1'b0;
        end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        zhi_chuan[15]<=1'b0;
    end
    else begin
        case(de_cc_15.DATA_DEST)
        4'd0: begin
            if( READY_0_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_0.EMPTY[0] || 
                READY_0_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_0.EMPTY[1] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_0.EMPTY[2] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_0.EMPTY[3] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_0.EMPTY[4] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_0.EMPTY[5] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_0.EMPTY[6] ||
                READY_0_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_0.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd1: begin
            if( READY_1_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_1.EMPTY[0] || 
                READY_1_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_1.EMPTY[1] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_1.EMPTY[2] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_1.EMPTY[3] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_1.EMPTY[4] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_1.EMPTY[5] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_1.EMPTY[6] ||
                READY_1_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_1.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd2: begin
            if( READY_2_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_2.EMPTY[0] || 
                READY_2_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_2.EMPTY[1] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_2.EMPTY[2] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_2.EMPTY[3] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_2.EMPTY[4] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_2.EMPTY[5] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_2.EMPTY[6] ||
                READY_2_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_2.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd3: begin
            if( READY_3_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_3.EMPTY[0] || 
                READY_3_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_3.EMPTY[1] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_3.EMPTY[2] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_3.EMPTY[3] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_3.EMPTY[4] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_3.EMPTY[5] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_3.EMPTY[6] ||
                READY_3_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_3.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd4: begin
            if( READY_4_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_4.EMPTY[0] || 
                READY_4_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_4.EMPTY[1] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_4.EMPTY[2] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_4.EMPTY[3] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_4.EMPTY[4] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_4.EMPTY[5] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_4.EMPTY[6] ||
                READY_4_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_4.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd5: begin
            if( READY_5_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_5.EMPTY[0] || 
                READY_5_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_5.EMPTY[1] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_5.EMPTY[2] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_5.EMPTY[3] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_5.EMPTY[4] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_5.EMPTY[5] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_5.EMPTY[6] ||
                READY_5_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_5.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd6: begin
            if( READY_6_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_6.EMPTY[0] || 
                READY_6_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_6.EMPTY[1] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_6.EMPTY[2] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_6.EMPTY[3] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_6.EMPTY[4] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_6.EMPTY[5] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_6.EMPTY[6] ||
                READY_6_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_6.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd7: begin
            if( READY_7_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_7.EMPTY[0] || 
                READY_7_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_7.EMPTY[1] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_7.EMPTY[2] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_7.EMPTY[3] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_7.EMPTY[4] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_7.EMPTY[5] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_7.EMPTY[6] ||
                READY_7_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_7.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd8: begin
            if( READY_8_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_8.EMPTY[0] || 
                READY_8_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_8.EMPTY[1] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_8.EMPTY[2] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_8.EMPTY[3] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_8.EMPTY[4] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_8.EMPTY[5] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_8.EMPTY[6] ||
                READY_8_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_8.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd9: begin
            if( READY_9_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_9.EMPTY[0] || 
                READY_9_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_9.EMPTY[1] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_9.EMPTY[2] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_9.EMPTY[3] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_9.EMPTY[4] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_9.EMPTY[5] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_9.EMPTY[6] ||
                READY_9_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_9.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd10: begin
            if( READY_10_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_10.EMPTY[0] || 
                READY_10_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_10.EMPTY[1] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_10.EMPTY[2] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_10.EMPTY[3] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_10.EMPTY[4] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_10.EMPTY[5] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_10.EMPTY[6] ||
                READY_10_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_10.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd11: begin
            if( READY_11_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_11.EMPTY[0] || 
                READY_11_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_11.EMPTY[1] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_11.EMPTY[2] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_11.EMPTY[3] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_11.EMPTY[4] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_11.EMPTY[5] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_11.EMPTY[6] ||
                READY_11_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_11.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd12: begin
            if( READY_12_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_12.EMPTY[0] || 
                READY_12_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_12.EMPTY[1] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_12.EMPTY[2] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_12.EMPTY[3] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_12.EMPTY[4] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_12.EMPTY[5] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_12.EMPTY[6] ||
                READY_12_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_12.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd13: begin
            if( READY_13_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_13.EMPTY[0] || 
                READY_13_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_13.EMPTY[1] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_13.EMPTY[2] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_13.EMPTY[3] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_13.EMPTY[4] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_13.EMPTY[5] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_13.EMPTY[6] ||
                READY_13_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_13.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd14: begin
            if( READY_14_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_14.EMPTY[0] || 
                READY_14_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_14.EMPTY[1] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_14.EMPTY[2] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_14.EMPTY[3] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_14.EMPTY[4] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_14.EMPTY[5] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_14.EMPTY[6] ||
                READY_14_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_14.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        4'd15: begin
            if( READY_15_I && de_cc_15.DATA_PRIO==3'd000 && cc_st_15.EMPTY[0] || 
                READY_15_I && de_cc_15.DATA_PRIO==3'd001 && cc_st_15.EMPTY[1] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd010 && cc_st_15.EMPTY[2] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd011 && cc_st_15.EMPTY[3] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd100 && cc_st_15.EMPTY[4] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd101 && cc_st_15.EMPTY[5] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd110 && cc_st_15.EMPTY[6] ||
                READY_15_I && de_cc_15.DATA_PRIO==3'd111 && cc_st_15.EMPTY[7])
            zhi_chuan[15]<=1'b1;
            else zhi_chuan[15]<=1'b0;
        end

        default: begin
            zhi_chuan[15]<=1'b0;
        end
        endcase
    end
end

//3.缓存
assign huan_cun[0] = !zhi_chuan[0] && !diu_bao[0];
assign huan_cun[1] = !zhi_chuan[1] && !diu_bao[1];
assign huan_cun[2] = !zhi_chuan[2] && !diu_bao[2];
assign huan_cun[3] = !zhi_chuan[3] && !diu_bao[3];
assign huan_cun[4] = !zhi_chuan[4] && !diu_bao[4];
assign huan_cun[5] = !zhi_chuan[5] && !diu_bao[5];
assign huan_cun[6] = !zhi_chuan[6] && !diu_bao[6];
assign huan_cun[7] = !zhi_chuan[7] && !diu_bao[7];
assign huan_cun[8] = !zhi_chuan[8] && !diu_bao[8];
assign huan_cun[9] = !zhi_chuan[9] && !diu_bao[9];
assign huan_cun[10] = !zhi_chuan[10] && !diu_bao[10];
assign huan_cun[11] = !zhi_chuan[11] && !diu_bao[11];
assign huan_cun[12] = !zhi_chuan[12] && !diu_bao[12];
assign huan_cun[13] = !zhi_chuan[13] && !diu_bao[13];
assign huan_cun[14] = !zhi_chuan[14] && !diu_bao[14];
assign huan_cun[15] = !zhi_chuan[15] && !diu_bao[15];

//总结是丢包还是缓存还是直传001:丢包 010 缓存 100 直传
always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        de_cc_0.VLD<=3'b000;
        de_cc_1.VLD<=3'b000;
        de_cc_2.VLD<=3'b000;
        de_cc_3.VLD<=3'b000;
        de_cc_4.VLD<=3'b000;
        de_cc_5.VLD<=3'b000;
        de_cc_6.VLD<=3'b000;
        de_cc_7.VLD<=3'b000;
        de_cc_8.VLD<=3'b000;
        de_cc_9.VLD<=3'b000;
        de_cc_10.VLD<=3'b000;
        de_cc_11.VLD<=3'b000;
        de_cc_12.VLD<=3'b000;
        de_cc_13.VLD<=3'b000;
        de_cc_14.VLD<=3'b000;
        de_cc_15.VLD<=3'b000;
    end
    else begin
        if(REQ0_2)
        de_cc_0.VLD<={zhi_chuan[0],huan_cun[0],diu_bao[0]};
        else de_cc_0.VLD<=3'b000;
        if(REQ1_2)
        de_cc_1.VLD<={zhi_chuan[1],huan_cun[1],diu_bao[1]};
        else de_cc_1.VLD<=3'b000;
        if(REQ2_2)
        de_cc_2.VLD<={zhi_chuan[2],huan_cun[2],diu_bao[2]};
        else de_cc_2.VLD<=3'b000;
        if(REQ3_2)
        de_cc_3.VLD<={zhi_chuan[3],huan_cun[3],diu_bao[3]};
        else de_cc_3.VLD<=3'b000;
        if(REQ4_2)
        de_cc_4.VLD<={zhi_chuan[4],huan_cun[4],diu_bao[4]};
        else de_cc_4.VLD<=3'b000;
        if(REQ5_2)
        de_cc_5.VLD<={zhi_chuan[5],huan_cun[5],diu_bao[5]};
        else de_cc_5.VLD<=3'b000;
        if(REQ6_2)
        de_cc_6.VLD<={zhi_chuan[6],huan_cun[6],diu_bao[6]};
        else de_cc_6.VLD<=3'b000;
        if(REQ7_2)
        de_cc_7.VLD<={zhi_chuan[7],huan_cun[7],diu_bao[7]};
        else de_cc_7.VLD<=3'b000;
        if(REQ8_2)
        de_cc_8.VLD<={zhi_chuan[8],huan_cun[8],diu_bao[8]};
        else de_cc_8.VLD<=3'b000;
        if(REQ9_2)
        de_cc_9.VLD<={zhi_chuan[9],huan_cun[9],diu_bao[9]};
        else de_cc_9.VLD<=3'b000;
        if(REQ10_2)
        de_cc_10.VLD<={zhi_chuan[10],huan_cun[10],diu_bao[10]};
        else de_cc_10.VLD<=3'b000;
        if(REQ11_2)
        de_cc_11.VLD<={zhi_chuan[11],huan_cun[11],diu_bao[11]};
        else de_cc_11.VLD<=3'b000;
        if(REQ12_2)
        de_cc_12.VLD<={zhi_chuan[12],huan_cun[12],diu_bao[12]};
        else de_cc_12.VLD<=3'b000;
        if(REQ13_2)
        de_cc_13.VLD<={zhi_chuan[13],huan_cun[13],diu_bao[13]};
        else de_cc_13.VLD<=3'b000;
        if(REQ14_2)
        de_cc_14.VLD<={zhi_chuan[14],huan_cun[14],diu_bao[14]};
        else de_cc_14.VLD<=3'b000;
        if(REQ15_2)
        de_cc_15.VLD<={zhi_chuan[15],huan_cun[15],diu_bao[15]};
        else de_cc_15.VLD<=3'b000;
    end
end

//三、给sram_table发东西：
always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_0_15<=11'd0;
        data_pri_0_15<=3'd0;
        wr_sop_0_15<=1'b0;
        wr_eop_0_15<=1'b0;
        wr_data_0_15<=36'd0;
        wr_vld_0_15<=1'b0;                   
        data_status_0_15<=1'b0;
    end
    else if(REQ0_1)begin
        case(de_cc_0.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[0]) begin
                    data_size_0_0<=de_cc_0.DATA_SIZE;
                    data_pri_0_0<=de_cc_0.DATA_PRIO;
                    wr_sop_0_0<=de_cc_0.WR_SOP;
                    wr_eop_0_0<=de_cc_0.WR_EOP;
                    wr_data_0_0<=de_cc_0.WR_DATA;
                    wr_vld_0_0<=de_cc_0.WR_VLD;
                    data_status_0_0<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_0<=de_cc_0.DATA_SIZE;
                    data_pri_0_0<=de_cc_0.DATA_PRIO;
                    wr_sop_0_0<=de_cc_0.WR_SOP;
                    wr_eop_0_0<=de_cc_0.WR_EOP;
                    wr_data_0_0<=de_cc_0.WR_DATA;
                    wr_vld_0_0<=de_cc_0.WR_VLD;
                    data_status_0_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[0]) begin
                    data_size_0_1<=de_cc_0.DATA_SIZE;
                    data_pri_0_1<=de_cc_0.DATA_PRIO;
                    wr_sop_0_1<=de_cc_0.WR_SOP;
                    wr_eop_0_1<=de_cc_0.WR_EOP;
                    wr_data_0_1<=de_cc_0.WR_DATA;
                    wr_vld_0_1<=de_cc_0.WR_VLD;
                    data_status_0_1<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_1<=de_cc_0.DATA_SIZE;
                    data_pri_0_1<=de_cc_0.DATA_PRIO;
                    wr_sop_0_1<=de_cc_0.WR_SOP;
                    wr_eop_0_1<=de_cc_0.WR_EOP;
                    wr_data_0_1<=de_cc_0.WR_DATA;
                    wr_vld_0_1<=de_cc_0.WR_VLD;
                    data_status_0_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[0]) begin
                    data_size_0_2<=de_cc_0.DATA_SIZE;
                    data_pri_0_2<=de_cc_0.DATA_PRIO;
                    wr_sop_0_2<=de_cc_0.WR_SOP;
                    wr_eop_0_2<=de_cc_0.WR_EOP;
                    wr_data_0_2<=de_cc_0.WR_DATA;
                    wr_vld_0_2<=de_cc_0.WR_VLD;
                    data_status_0_2<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_2<=de_cc_0.DATA_SIZE;
                    data_pri_0_2<=de_cc_0.DATA_PRIO;
                    wr_sop_0_2<=de_cc_0.WR_SOP;
                    wr_eop_0_2<=de_cc_0.WR_EOP;
                    wr_data_0_2<=de_cc_0.WR_DATA;
                    wr_vld_0_2<=de_cc_0.WR_VLD;
                    data_status_0_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[0]) begin
                    data_size_0_3<=de_cc_0.DATA_SIZE;
                    data_pri_0_3<=de_cc_0.DATA_PRIO;
                    wr_sop_0_3<=de_cc_0.WR_SOP;
                    wr_eop_0_3<=de_cc_0.WR_EOP;
                    wr_data_0_3<=de_cc_0.WR_DATA;
                    wr_vld_0_3<=de_cc_0.WR_VLD;
                    data_status_0_3<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_3<=de_cc_0.DATA_SIZE;
                    data_pri_0_3<=de_cc_0.DATA_PRIO;
                    wr_sop_0_3<=de_cc_0.WR_SOP;
                    wr_eop_0_3<=de_cc_0.WR_EOP;
                    wr_data_0_3<=de_cc_0.WR_DATA;
                    wr_vld_0_3<=de_cc_0.WR_VLD;
                    data_status_0_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[0]) begin
                    data_size_0_4<=de_cc_0.DATA_SIZE;
                    data_pri_0_4<=de_cc_0.DATA_PRIO;
                    wr_sop_0_4<=de_cc_0.WR_SOP;
                    wr_eop_0_4<=de_cc_0.WR_EOP;
                    wr_data_0_4<=de_cc_0.WR_DATA;
                    wr_vld_0_4<=de_cc_0.WR_VLD;
                    data_status_0_4<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_4<=de_cc_0.DATA_SIZE;
                    data_pri_0_4<=de_cc_0.DATA_PRIO;
                    wr_sop_0_4<=de_cc_0.WR_SOP;
                    wr_eop_0_4<=de_cc_0.WR_EOP;
                    wr_data_0_4<=de_cc_0.WR_DATA;
                    wr_vld_0_4<=de_cc_0.WR_VLD;
                    data_status_0_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[0]) begin
                    data_size_0_5<=de_cc_0.DATA_SIZE;
                    data_pri_0_5<=de_cc_0.DATA_PRIO;
                    wr_sop_0_5<=de_cc_0.WR_SOP;
                    wr_eop_0_5<=de_cc_0.WR_EOP;
                    wr_data_0_5<=de_cc_0.WR_DATA;
                    wr_vld_0_5<=de_cc_0.WR_VLD;
                    data_status_0_5<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_5<=de_cc_0.DATA_SIZE;
                    data_pri_0_5<=de_cc_0.DATA_PRIO;
                    wr_sop_0_5<=de_cc_0.WR_SOP;
                    wr_eop_0_5<=de_cc_0.WR_EOP;
                    wr_data_0_5<=de_cc_0.WR_DATA;
                    wr_vld_0_5<=de_cc_0.WR_VLD;
                    data_status_0_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[0]) begin
                    data_size_0_6<=de_cc_0.DATA_SIZE;
                    data_pri_0_6<=de_cc_0.DATA_PRIO;
                    wr_sop_0_6<=de_cc_0.WR_SOP;
                    wr_eop_0_6<=de_cc_0.WR_EOP;
                    wr_data_0_6<=de_cc_0.WR_DATA;
                    wr_vld_0_6<=de_cc_0.WR_VLD;
                    data_status_0_6<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_6<=de_cc_0.DATA_SIZE;
                    data_pri_0_6<=de_cc_0.DATA_PRIO;
                    wr_sop_0_6<=de_cc_0.WR_SOP;
                    wr_eop_0_6<=de_cc_0.WR_EOP;
                    wr_data_0_6<=de_cc_0.WR_DATA;
                    wr_vld_0_6<=de_cc_0.WR_VLD;
                    data_status_0_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[0]) begin
                    data_size_0_7<=de_cc_0.DATA_SIZE;
                    data_pri_0_7<=de_cc_0.DATA_PRIO;
                    wr_sop_0_7<=de_cc_0.WR_SOP;
                    wr_eop_0_7<=de_cc_0.WR_EOP;
                    wr_data_0_7<=de_cc_0.WR_DATA;
                    wr_vld_0_7<=de_cc_0.WR_VLD;
                    data_status_0_7<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_7<=de_cc_0.DATA_SIZE;
                    data_pri_0_7<=de_cc_0.DATA_PRIO;
                    wr_sop_0_7<=de_cc_0.WR_SOP;
                    wr_eop_0_7<=de_cc_0.WR_EOP;
                    wr_data_0_7<=de_cc_0.WR_DATA;
                    wr_vld_0_7<=de_cc_0.WR_VLD;
                    data_status_0_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[0]) begin
                    data_size_0_8<=de_cc_0.DATA_SIZE;
                    data_pri_0_8<=de_cc_0.DATA_PRIO;
                    wr_sop_0_8<=de_cc_0.WR_SOP;
                    wr_eop_0_8<=de_cc_0.WR_EOP;
                    wr_data_0_8<=de_cc_0.WR_DATA;
                    wr_vld_0_8<=de_cc_0.WR_VLD;
                    data_status_0_8<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_8<=de_cc_0.DATA_SIZE;
                    data_pri_0_8<=de_cc_0.DATA_PRIO;
                    wr_sop_0_8<=de_cc_0.WR_SOP;
                    wr_eop_0_8<=de_cc_0.WR_EOP;
                    wr_data_0_8<=de_cc_0.WR_DATA;
                    wr_vld_0_8<=de_cc_0.WR_VLD;
                    data_status_0_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[0]) begin
                    data_size_0_9<=de_cc_0.DATA_SIZE;
                    data_pri_0_9<=de_cc_0.DATA_PRIO;
                    wr_sop_0_9<=de_cc_0.WR_SOP;
                    wr_eop_0_9<=de_cc_0.WR_EOP;
                    wr_data_0_9<=de_cc_0.WR_DATA;
                    wr_vld_0_9<=de_cc_0.WR_VLD;
                    data_status_0_9<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_9<=de_cc_0.DATA_SIZE;
                    data_pri_0_9<=de_cc_0.DATA_PRIO;
                    wr_sop_0_9<=de_cc_0.WR_SOP;
                    wr_eop_0_9<=de_cc_0.WR_EOP;
                    wr_data_0_9<=de_cc_0.WR_DATA;
                    wr_vld_0_9<=de_cc_0.WR_VLD;
                    data_status_0_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[0]) begin
                    data_size_0_10<=de_cc_0.DATA_SIZE;
                    data_pri_0_10<=de_cc_0.DATA_PRIO;
                    wr_sop_0_10<=de_cc_0.WR_SOP;
                    wr_eop_0_10<=de_cc_0.WR_EOP;
                    wr_data_0_10<=de_cc_0.WR_DATA;
                    wr_vld_0_10<=de_cc_0.WR_VLD;
                    data_status_0_10<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_10<=de_cc_0.DATA_SIZE;
                    data_pri_0_10<=de_cc_0.DATA_PRIO;
                    wr_sop_0_10<=de_cc_0.WR_SOP;
                    wr_eop_0_10<=de_cc_0.WR_EOP;
                    wr_data_0_10<=de_cc_0.WR_DATA;
                    wr_vld_0_10<=de_cc_0.WR_VLD;
                    data_status_0_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[0]) begin
                    data_size_0_11<=de_cc_0.DATA_SIZE;
                    data_pri_0_11<=de_cc_0.DATA_PRIO;
                    wr_sop_0_11<=de_cc_0.WR_SOP;
                    wr_eop_0_11<=de_cc_0.WR_EOP;
                    wr_data_0_11<=de_cc_0.WR_DATA;
                    wr_vld_0_11<=de_cc_0.WR_VLD;
                    data_status_0_11<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_11<=de_cc_0.DATA_SIZE;
                    data_pri_0_11<=de_cc_0.DATA_PRIO;
                    wr_sop_0_11<=de_cc_0.WR_SOP;
                    wr_eop_0_11<=de_cc_0.WR_EOP;
                    wr_data_0_11<=de_cc_0.WR_DATA;
                    wr_vld_0_11<=de_cc_0.WR_VLD;
                    data_status_0_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[0]) begin
                    data_size_0_12<=de_cc_0.DATA_SIZE;
                    data_pri_0_12<=de_cc_0.DATA_PRIO;
                    wr_sop_0_12<=de_cc_0.WR_SOP;
                    wr_eop_0_12<=de_cc_0.WR_EOP;
                    wr_data_0_12<=de_cc_0.WR_DATA;
                    wr_vld_0_12<=de_cc_0.WR_VLD;
                    data_status_0_12<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_12<=de_cc_0.DATA_SIZE;
                    data_pri_0_12<=de_cc_0.DATA_PRIO;
                    wr_sop_0_12<=de_cc_0.WR_SOP;
                    wr_eop_0_12<=de_cc_0.WR_EOP;
                    wr_data_0_12<=de_cc_0.WR_DATA;
                    wr_vld_0_12<=de_cc_0.WR_VLD;
                    data_status_0_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[0]) begin
                    data_size_0_13<=de_cc_0.DATA_SIZE;
                    data_pri_0_13<=de_cc_0.DATA_PRIO;
                    wr_sop_0_13<=de_cc_0.WR_SOP;
                    wr_eop_0_13<=de_cc_0.WR_EOP;
                    wr_data_0_13<=de_cc_0.WR_DATA;
                    wr_vld_0_13<=de_cc_0.WR_VLD;
                    data_status_0_13<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_13<=de_cc_0.DATA_SIZE;
                    data_pri_0_13<=de_cc_0.DATA_PRIO;
                    wr_sop_0_13<=de_cc_0.WR_SOP;
                    wr_eop_0_13<=de_cc_0.WR_EOP;
                    wr_data_0_13<=de_cc_0.WR_DATA;
                    wr_vld_0_13<=de_cc_0.WR_VLD;
                    data_status_0_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[0]) begin
                    data_size_0_14<=de_cc_0.DATA_SIZE;
                    data_pri_0_14<=de_cc_0.DATA_PRIO;
                    wr_sop_0_14<=de_cc_0.WR_SOP;
                    wr_eop_0_14<=de_cc_0.WR_EOP;
                    wr_data_0_14<=de_cc_0.WR_DATA;
                    wr_vld_0_14<=de_cc_0.WR_VLD;
                    data_status_0_14<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_14<=de_cc_0.DATA_SIZE;
                    data_pri_0_14<=de_cc_0.DATA_PRIO;
                    wr_sop_0_14<=de_cc_0.WR_SOP;
                    wr_eop_0_14<=de_cc_0.WR_EOP;
                    wr_data_0_14<=de_cc_0.WR_DATA;
                    wr_vld_0_14<=de_cc_0.WR_VLD;
                    data_status_0_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[0]) begin
                    data_size_0_15<=de_cc_0.DATA_SIZE;
                    data_pri_0_15<=de_cc_0.DATA_PRIO;
                    wr_sop_0_15<=de_cc_0.WR_SOP;
                    wr_eop_0_15<=de_cc_0.WR_EOP;
                    wr_data_0_15<=de_cc_0.WR_DATA;
                    wr_vld_0_15<=de_cc_0.WR_VLD;
                    data_status_0_15<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_15<=de_cc_0.DATA_SIZE;
                    data_pri_0_15<=de_cc_0.DATA_PRIO;
                    wr_sop_0_15<=de_cc_0.WR_SOP;
                    wr_eop_0_15<=de_cc_0.WR_EOP;
                    wr_data_0_15<=de_cc_0.WR_DATA;
                    wr_vld_0_15<=de_cc_0.WR_VLD;
                    data_status_0_15<=1'b0;
                end
            end
            default:begin
                data_size_0_15<=11'd0;
                data_pri_0_15<=3'd0;
                wr_sop_0_15<=1'b0;
                wr_eop_0_15<=1'b0;
                wr_data_0_15<=36'd0;
                wr_vld_0_15<=1'b0;                   
                data_status_0_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_0_0<=11'd0;
        data_size_0_1<=11'd0;
        data_size_0_2<=11'd0;
        data_size_0_3<=11'd0;
        data_size_0_4<=11'd0;
        data_size_0_5<=11'd0;
        data_size_0_6<=11'd0;
        data_size_0_7<=11'd0;
        data_size_0_8<=11'd0;
        data_size_0_9<=11'd0;
        data_size_0_10<=11'd0;
        data_size_0_11<=11'd0;
        data_size_0_12<=11'd0;
        data_size_0_13<=11'd0;
        data_size_0_14<=11'd0;
        data_size_0_15<=11'd0;
        data_pri_0_0<=3'd0;
        data_pri_0_1<=3'd0;
        data_pri_0_2<=3'd0;
        data_pri_0_3<=3'd0;
        data_pri_0_4<=3'd0;
        data_pri_0_5<=3'd0;
        data_pri_0_6<=3'd0;
        data_pri_0_7<=3'd0;
        data_pri_0_8<=3'd0;
        data_pri_0_9<=3'd0;
        data_pri_0_10<=3'd0;
        data_pri_0_11<=3'd0;
        data_pri_0_12<=3'd0;
        data_pri_0_13<=3'd0;
        data_pri_0_14<=3'd0;
        data_pri_0_15<=3'd0;
        wr_sop_0_0<=1'b0;
        wr_sop_0_1<=1'b0;
        wr_sop_0_2<=1'b0;
        wr_sop_0_3<=1'b0;
        wr_sop_0_4<=1'b0;
        wr_sop_0_5<=1'b0;
        wr_sop_0_6<=1'b0;
        wr_sop_0_7<=1'b0;
        wr_sop_0_8<=1'b0;
        wr_sop_0_9<=1'b0;
        wr_sop_0_10<=1'b0;
        wr_sop_0_11<=1'b0;
        wr_sop_0_12<=1'b0;
        wr_sop_0_13<=1'b0;
        wr_sop_0_14<=1'b0;
        wr_sop_0_15<=1'b0;
        wr_eop_0_0<=1'b0;
        wr_eop_0_1<=1'b0;
        wr_eop_0_2<=1'b0;
        wr_eop_0_3<=1'b0;
        wr_eop_0_4<=1'b0;
        wr_eop_0_5<=1'b0;
        wr_eop_0_6<=1'b0;
        wr_eop_0_7<=1'b0;
        wr_eop_0_8<=1'b0;
        wr_eop_0_9<=1'b0;
        wr_eop_0_10<=1'b0;
        wr_eop_0_11<=1'b0;
        wr_eop_0_12<=1'b0;
        wr_eop_0_13<=1'b0;
        wr_eop_0_14<=1'b0;
        wr_eop_0_15<=1'b0;
        wr_data_0_0<=36'd0;
        wr_data_0_1<=36'd0;
        wr_data_0_2<=36'd0;
        wr_data_0_3<=36'd0;
        wr_data_0_4<=36'd0;
        wr_data_0_5<=36'd0;
        wr_data_0_6<=36'd0;
        wr_data_0_7<=36'd0;
        wr_data_0_8<=36'd0;
        wr_data_0_9<=36'd0;
        wr_data_0_10<=36'd0;
        wr_data_0_11<=36'd0;
        wr_data_0_12<=36'd0;
        wr_data_0_13<=36'd0;
        wr_data_0_14<=36'd0;
        wr_data_0_15<=36'd0;
        wr_vld_0_0<=1'b0;
        wr_vld_0_1<=1'b0;
        wr_vld_0_2<=1'b0;
        wr_vld_0_3<=1'b0;
        wr_vld_0_4<=1'b0;
        wr_vld_0_5<=1'b0;
        wr_vld_0_6<=1'b0;
        wr_vld_0_7<=1'b0;
        wr_vld_0_8<=1'b0;
        wr_vld_0_9<=1'b0;
        wr_vld_0_10<=1'b0;
        wr_vld_0_11<=1'b0;
        wr_vld_0_12<=1'b0;
        wr_vld_0_13<=1'b0;
        wr_vld_0_14<=1'b0;
        wr_vld_0_15<=1'b0;                   
        data_status_0_0<=1'b0;
        data_status_0_1<=1'b0;
        data_status_0_2<=1'b0;
        data_status_0_3<=1'b0;
        data_status_0_4<=1'b0;
        data_status_0_5<=1'b0;
        data_status_0_6<=1'b0;
        data_status_0_7<=1'b0;
        data_status_0_8<=1'b0;
        data_status_0_9<=1'b0;
        data_status_0_10<=1'b0;
        data_status_0_11<=1'b0;
        data_status_0_12<=1'b0;
        data_status_0_13<=1'b0;
        data_status_0_14<=1'b0;
        data_status_0_15<=1'b0;
    end
    else if(REQ0_1)begin
        case(de_cc_0.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[0]) begin
                    data_size_0_0<=de_cc_0.DATA_SIZE;
                    data_pri_0_0<=de_cc_0.DATA_PRIO;
                    wr_sop_0_0<=de_cc_0.WR_SOP;
                    wr_eop_0_0<=de_cc_0.WR_EOP;
                    wr_data_0_0<=de_cc_0.WR_DATA;
                    wr_vld_0_0<=de_cc_0.WR_VLD;
                    data_status_0_0<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_0<=de_cc_0.DATA_SIZE;
                    data_pri_0_0<=de_cc_0.DATA_PRIO;
                    wr_sop_0_0<=de_cc_0.WR_SOP;
                    wr_eop_0_0<=de_cc_0.WR_EOP;
                    wr_data_0_0<=de_cc_0.WR_DATA;
                    wr_vld_0_0<=de_cc_0.WR_VLD;
                    data_status_0_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[0]) begin
                    data_size_0_1<=de_cc_0.DATA_SIZE;
                    data_pri_0_1<=de_cc_0.DATA_PRIO;
                    wr_sop_0_1<=de_cc_0.WR_SOP;
                    wr_eop_0_1<=de_cc_0.WR_EOP;
                    wr_data_0_1<=de_cc_0.WR_DATA;
                    wr_vld_0_1<=de_cc_0.WR_VLD;
                    data_status_0_1<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_1<=de_cc_0.DATA_SIZE;
                    data_pri_0_1<=de_cc_0.DATA_PRIO;
                    wr_sop_0_1<=de_cc_0.WR_SOP;
                    wr_eop_0_1<=de_cc_0.WR_EOP;
                    wr_data_0_1<=de_cc_0.WR_DATA;
                    wr_vld_0_1<=de_cc_0.WR_VLD;
                    data_status_0_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[0]) begin
                    data_size_0_2<=de_cc_0.DATA_SIZE;
                    data_pri_0_2<=de_cc_0.DATA_PRIO;
                    wr_sop_0_2<=de_cc_0.WR_SOP;
                    wr_eop_0_2<=de_cc_0.WR_EOP;
                    wr_data_0_2<=de_cc_0.WR_DATA;
                    wr_vld_0_2<=de_cc_0.WR_VLD;
                    data_status_0_2<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_2<=de_cc_0.DATA_SIZE;
                    data_pri_0_2<=de_cc_0.DATA_PRIO;
                    wr_sop_0_2<=de_cc_0.WR_SOP;
                    wr_eop_0_2<=de_cc_0.WR_EOP;
                    wr_data_0_2<=de_cc_0.WR_DATA;
                    wr_vld_0_2<=de_cc_0.WR_VLD;
                    data_status_0_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[0]) begin
                    data_size_0_3<=de_cc_0.DATA_SIZE;
                    data_pri_0_3<=de_cc_0.DATA_PRIO;
                    wr_sop_0_3<=de_cc_0.WR_SOP;
                    wr_eop_0_3<=de_cc_0.WR_EOP;
                    wr_data_0_3<=de_cc_0.WR_DATA;
                    wr_vld_0_3<=de_cc_0.WR_VLD;
                    data_status_0_3<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_3<=de_cc_0.DATA_SIZE;
                    data_pri_0_3<=de_cc_0.DATA_PRIO;
                    wr_sop_0_3<=de_cc_0.WR_SOP;
                    wr_eop_0_3<=de_cc_0.WR_EOP;
                    wr_data_0_3<=de_cc_0.WR_DATA;
                    wr_vld_0_3<=de_cc_0.WR_VLD;
                    data_status_0_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[0]) begin
                    data_size_0_4<=de_cc_0.DATA_SIZE;
                    data_pri_0_4<=de_cc_0.DATA_PRIO;
                    wr_sop_0_4<=de_cc_0.WR_SOP;
                    wr_eop_0_4<=de_cc_0.WR_EOP;
                    wr_data_0_4<=de_cc_0.WR_DATA;
                    wr_vld_0_4<=de_cc_0.WR_VLD;
                    data_status_0_4<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_4<=de_cc_0.DATA_SIZE;
                    data_pri_0_4<=de_cc_0.DATA_PRIO;
                    wr_sop_0_4<=de_cc_0.WR_SOP;
                    wr_eop_0_4<=de_cc_0.WR_EOP;
                    wr_data_0_4<=de_cc_0.WR_DATA;
                    wr_vld_0_4<=de_cc_0.WR_VLD;
                    data_status_0_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[0]) begin
                    data_size_0_5<=de_cc_0.DATA_SIZE;
                    data_pri_0_5<=de_cc_0.DATA_PRIO;
                    wr_sop_0_5<=de_cc_0.WR_SOP;
                    wr_eop_0_5<=de_cc_0.WR_EOP;
                    wr_data_0_5<=de_cc_0.WR_DATA;
                    wr_vld_0_5<=de_cc_0.WR_VLD;
                    data_status_0_5<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_5<=de_cc_0.DATA_SIZE;
                    data_pri_0_5<=de_cc_0.DATA_PRIO;
                    wr_sop_0_5<=de_cc_0.WR_SOP;
                    wr_eop_0_5<=de_cc_0.WR_EOP;
                    wr_data_0_5<=de_cc_0.WR_DATA;
                    wr_vld_0_5<=de_cc_0.WR_VLD;
                    data_status_0_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[0]) begin
                    data_size_0_6<=de_cc_0.DATA_SIZE;
                    data_pri_0_6<=de_cc_0.DATA_PRIO;
                    wr_sop_0_6<=de_cc_0.WR_SOP;
                    wr_eop_0_6<=de_cc_0.WR_EOP;
                    wr_data_0_6<=de_cc_0.WR_DATA;
                    wr_vld_0_6<=de_cc_0.WR_VLD;
                    data_status_0_6<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_6<=de_cc_0.DATA_SIZE;
                    data_pri_0_6<=de_cc_0.DATA_PRIO;
                    wr_sop_0_6<=de_cc_0.WR_SOP;
                    wr_eop_0_6<=de_cc_0.WR_EOP;
                    wr_data_0_6<=de_cc_0.WR_DATA;
                    wr_vld_0_6<=de_cc_0.WR_VLD;
                    data_status_0_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[0]) begin
                    data_size_0_7<=de_cc_0.DATA_SIZE;
                    data_pri_0_7<=de_cc_0.DATA_PRIO;
                    wr_sop_0_7<=de_cc_0.WR_SOP;
                    wr_eop_0_7<=de_cc_0.WR_EOP;
                    wr_data_0_7<=de_cc_0.WR_DATA;
                    wr_vld_0_7<=de_cc_0.WR_VLD;
                    data_status_0_7<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_7<=de_cc_0.DATA_SIZE;
                    data_pri_0_7<=de_cc_0.DATA_PRIO;
                    wr_sop_0_7<=de_cc_0.WR_SOP;
                    wr_eop_0_7<=de_cc_0.WR_EOP;
                    wr_data_0_7<=de_cc_0.WR_DATA;
                    wr_vld_0_7<=de_cc_0.WR_VLD;
                    data_status_0_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[0]) begin
                    data_size_0_8<=de_cc_0.DATA_SIZE;
                    data_pri_0_8<=de_cc_0.DATA_PRIO;
                    wr_sop_0_8<=de_cc_0.WR_SOP;
                    wr_eop_0_8<=de_cc_0.WR_EOP;
                    wr_data_0_8<=de_cc_0.WR_DATA;
                    wr_vld_0_8<=de_cc_0.WR_VLD;
                    data_status_0_8<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_8<=de_cc_0.DATA_SIZE;
                    data_pri_0_8<=de_cc_0.DATA_PRIO;
                    wr_sop_0_8<=de_cc_0.WR_SOP;
                    wr_eop_0_8<=de_cc_0.WR_EOP;
                    wr_data_0_8<=de_cc_0.WR_DATA;
                    wr_vld_0_8<=de_cc_0.WR_VLD;
                    data_status_0_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[0]) begin
                    data_size_0_9<=de_cc_0.DATA_SIZE;
                    data_pri_0_9<=de_cc_0.DATA_PRIO;
                    wr_sop_0_9<=de_cc_0.WR_SOP;
                    wr_eop_0_9<=de_cc_0.WR_EOP;
                    wr_data_0_9<=de_cc_0.WR_DATA;
                    wr_vld_0_9<=de_cc_0.WR_VLD;
                    data_status_0_9<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_9<=de_cc_0.DATA_SIZE;
                    data_pri_0_9<=de_cc_0.DATA_PRIO;
                    wr_sop_0_9<=de_cc_0.WR_SOP;
                    wr_eop_0_9<=de_cc_0.WR_EOP;
                    wr_data_0_9<=de_cc_0.WR_DATA;
                    wr_vld_0_9<=de_cc_0.WR_VLD;
                    data_status_0_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[0]) begin
                    data_size_0_10<=de_cc_0.DATA_SIZE;
                    data_pri_0_10<=de_cc_0.DATA_PRIO;
                    wr_sop_0_10<=de_cc_0.WR_SOP;
                    wr_eop_0_10<=de_cc_0.WR_EOP;
                    wr_data_0_10<=de_cc_0.WR_DATA;
                    wr_vld_0_10<=de_cc_0.WR_VLD;
                    data_status_0_10<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_10<=de_cc_0.DATA_SIZE;
                    data_pri_0_10<=de_cc_0.DATA_PRIO;
                    wr_sop_0_10<=de_cc_0.WR_SOP;
                    wr_eop_0_10<=de_cc_0.WR_EOP;
                    wr_data_0_10<=de_cc_0.WR_DATA;
                    wr_vld_0_10<=de_cc_0.WR_VLD;
                    data_status_0_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[0]) begin
                    data_size_0_11<=de_cc_0.DATA_SIZE;
                    data_pri_0_11<=de_cc_0.DATA_PRIO;
                    wr_sop_0_11<=de_cc_0.WR_SOP;
                    wr_eop_0_11<=de_cc_0.WR_EOP;
                    wr_data_0_11<=de_cc_0.WR_DATA;
                    wr_vld_0_11<=de_cc_0.WR_VLD;
                    data_status_0_11<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_11<=de_cc_0.DATA_SIZE;
                    data_pri_0_11<=de_cc_0.DATA_PRIO;
                    wr_sop_0_11<=de_cc_0.WR_SOP;
                    wr_eop_0_11<=de_cc_0.WR_EOP;
                    wr_data_0_11<=de_cc_0.WR_DATA;
                    wr_vld_0_11<=de_cc_0.WR_VLD;
                    data_status_0_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[0]) begin
                    data_size_0_12<=de_cc_0.DATA_SIZE;
                    data_pri_0_12<=de_cc_0.DATA_PRIO;
                    wr_sop_0_12<=de_cc_0.WR_SOP;
                    wr_eop_0_12<=de_cc_0.WR_EOP;
                    wr_data_0_12<=de_cc_0.WR_DATA;
                    wr_vld_0_12<=de_cc_0.WR_VLD;
                    data_status_0_12<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_12<=de_cc_0.DATA_SIZE;
                    data_pri_0_12<=de_cc_0.DATA_PRIO;
                    wr_sop_0_12<=de_cc_0.WR_SOP;
                    wr_eop_0_12<=de_cc_0.WR_EOP;
                    wr_data_0_12<=de_cc_0.WR_DATA;
                    wr_vld_0_12<=de_cc_0.WR_VLD;
                    data_status_0_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[0]) begin
                    data_size_0_13<=de_cc_0.DATA_SIZE;
                    data_pri_0_13<=de_cc_0.DATA_PRIO;
                    wr_sop_0_13<=de_cc_0.WR_SOP;
                    wr_eop_0_13<=de_cc_0.WR_EOP;
                    wr_data_0_13<=de_cc_0.WR_DATA;
                    wr_vld_0_13<=de_cc_0.WR_VLD;
                    data_status_0_13<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_13<=de_cc_0.DATA_SIZE;
                    data_pri_0_13<=de_cc_0.DATA_PRIO;
                    wr_sop_0_13<=de_cc_0.WR_SOP;
                    wr_eop_0_13<=de_cc_0.WR_EOP;
                    wr_data_0_13<=de_cc_0.WR_DATA;
                    wr_vld_0_13<=de_cc_0.WR_VLD;
                    data_status_0_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[0]) begin
                    data_size_0_14<=de_cc_0.DATA_SIZE;
                    data_pri_0_14<=de_cc_0.DATA_PRIO;
                    wr_sop_0_14<=de_cc_0.WR_SOP;
                    wr_eop_0_14<=de_cc_0.WR_EOP;
                    wr_data_0_14<=de_cc_0.WR_DATA;
                    wr_vld_0_14<=de_cc_0.WR_VLD;
                    data_status_0_14<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_14<=de_cc_0.DATA_SIZE;
                    data_pri_0_14<=de_cc_0.DATA_PRIO;
                    wr_sop_0_14<=de_cc_0.WR_SOP;
                    wr_eop_0_14<=de_cc_0.WR_EOP;
                    wr_data_0_14<=de_cc_0.WR_DATA;
                    wr_vld_0_14<=de_cc_0.WR_VLD;
                    data_status_0_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[0]) begin
                    data_size_0_15<=de_cc_0.DATA_SIZE;
                    data_pri_0_15<=de_cc_0.DATA_PRIO;
                    wr_sop_0_15<=de_cc_0.WR_SOP;
                    wr_eop_0_15<=de_cc_0.WR_EOP;
                    wr_data_0_15<=de_cc_0.WR_DATA;
                    wr_vld_0_15<=de_cc_0.WR_VLD;
                    data_status_0_15<=1'b1;
                end
                else if(huan_cun[0]) begin
                    data_size_0_15<=de_cc_0.DATA_SIZE;
                    data_pri_0_15<=de_cc_0.DATA_PRIO;
                    wr_sop_0_15<=de_cc_0.WR_SOP;
                    wr_eop_0_15<=de_cc_0.WR_EOP;
                    wr_data_0_15<=de_cc_0.WR_DATA;
                    wr_vld_0_15<=de_cc_0.WR_VLD;
                    data_status_0_15<=1'b0;
                end
            end
            default:begin
                data_size_0_0<=11'd0;
                data_size_0_1<=11'd0;
                data_size_0_2<=11'd0;
                data_size_0_3<=11'd0;
                data_size_0_4<=11'd0;
                data_size_0_5<=11'd0;
                data_size_0_6<=11'd0;
                data_size_0_7<=11'd0;
                data_size_0_8<=11'd0;
                data_size_0_9<=11'd0;
                data_size_0_10<=11'd0;
                data_size_0_11<=11'd0;
                data_size_0_12<=11'd0;
                data_size_0_13<=11'd0;
                data_size_0_14<=11'd0;
                data_size_0_15<=11'd0;
                data_pri_0_0<=3'd0;
                data_pri_0_1<=3'd0;
                data_pri_0_2<=3'd0;
                data_pri_0_3<=3'd0;
                data_pri_0_4<=3'd0;
                data_pri_0_5<=3'd0;
                data_pri_0_6<=3'd0;
                data_pri_0_7<=3'd0;
                data_pri_0_8<=3'd0;
                data_pri_0_9<=3'd0;
                data_pri_0_10<=3'd0;
                data_pri_0_11<=3'd0;
                data_pri_0_12<=3'd0;
                data_pri_0_13<=3'd0;
                data_pri_0_14<=3'd0;
                data_pri_0_15<=3'd0;
                wr_sop_0_0<=1'b0;
                wr_sop_0_1<=1'b0;
                wr_sop_0_2<=1'b0;
                wr_sop_0_3<=1'b0;
                wr_sop_0_4<=1'b0;
                wr_sop_0_5<=1'b0;
                wr_sop_0_6<=1'b0;
                wr_sop_0_7<=1'b0;
                wr_sop_0_8<=1'b0;
                wr_sop_0_9<=1'b0;
                wr_sop_0_10<=1'b0;
                wr_sop_0_11<=1'b0;
                wr_sop_0_12<=1'b0;
                wr_sop_0_13<=1'b0;
                wr_sop_0_14<=1'b0;
                wr_sop_0_15<=1'b0;
                wr_eop_0_0<=1'b0;
                wr_eop_0_1<=1'b0;
                wr_eop_0_2<=1'b0;
                wr_eop_0_3<=1'b0;
                wr_eop_0_4<=1'b0;
                wr_eop_0_5<=1'b0;
                wr_eop_0_6<=1'b0;
                wr_eop_0_7<=1'b0;
                wr_eop_0_8<=1'b0;
                wr_eop_0_9<=1'b0;
                wr_eop_0_10<=1'b0;
                wr_eop_0_11<=1'b0;
                wr_eop_0_12<=1'b0;
                wr_eop_0_13<=1'b0;
                wr_eop_0_14<=1'b0;
                wr_eop_0_15<=1'b0;
                wr_data_0_0<=36'd0;
                wr_data_0_1<=36'd0;
                wr_data_0_2<=36'd0;
                wr_data_0_3<=36'd0;
                wr_data_0_4<=36'd0;
                wr_data_0_5<=36'd0;
                wr_data_0_6<=36'd0;
                wr_data_0_7<=36'd0;
                wr_data_0_8<=36'd0;
                wr_data_0_9<=36'd0;
                wr_data_0_10<=36'd0;
                wr_data_0_11<=36'd0;
                wr_data_0_12<=36'd0;
                wr_data_0_13<=36'd0;
                wr_data_0_14<=36'd0;
                wr_data_0_15<=36'd0;
                wr_vld_0_0<=1'b0;
                wr_vld_0_1<=1'b0;
                wr_vld_0_2<=1'b0;
                wr_vld_0_3<=1'b0;
                wr_vld_0_4<=1'b0;
                wr_vld_0_5<=1'b0;
                wr_vld_0_6<=1'b0;
                wr_vld_0_7<=1'b0;
                wr_vld_0_8<=1'b0;
                wr_vld_0_9<=1'b0;
                wr_vld_0_10<=1'b0;
                wr_vld_0_11<=1'b0;
                wr_vld_0_12<=1'b0;
                wr_vld_0_13<=1'b0;
                wr_vld_0_14<=1'b0;
                wr_vld_0_15<=1'b0;                   
                data_status_0_0<=1'b0;
                data_status_0_1<=1'b0;
                data_status_0_2<=1'b0;
                data_status_0_3<=1'b0;
                data_status_0_4<=1'b0;
                data_status_0_5<=1'b0;
                data_status_0_6<=1'b0;
                data_status_0_7<=1'b0;
                data_status_0_8<=1'b0;
                data_status_0_9<=1'b0;
                data_status_0_10<=1'b0;
                data_status_0_11<=1'b0;
                data_status_0_12<=1'b0;
                data_status_0_13<=1'b0;
                data_status_0_14<=1'b0;
                data_status_0_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_1_0<=11'd0;
        data_size_1_1<=11'd0;
        data_size_1_2<=11'd0;
        data_size_1_3<=11'd0;
        data_size_1_4<=11'd0;
        data_size_1_5<=11'd0;
        data_size_1_6<=11'd0;
        data_size_1_7<=11'd0;
        data_size_1_8<=11'd0;
        data_size_1_9<=11'd0;
        data_size_1_10<=11'd0;
        data_size_1_11<=11'd0;
        data_size_1_12<=11'd0;
        data_size_1_13<=11'd0;
        data_size_1_14<=11'd0;
        data_size_1_15<=11'd0;
        data_pri_1_0<=3'd0;
        data_pri_1_1<=3'd0;
        data_pri_1_2<=3'd0;
        data_pri_1_3<=3'd0;
        data_pri_1_4<=3'd0;
        data_pri_1_5<=3'd0;
        data_pri_1_6<=3'd0;
        data_pri_1_7<=3'd0;
        data_pri_1_8<=3'd0;
        data_pri_1_9<=3'd0;
        data_pri_1_10<=3'd0;
        data_pri_1_11<=3'd0;
        data_pri_1_12<=3'd0;
        data_pri_1_13<=3'd0;
        data_pri_1_14<=3'd0;
        data_pri_1_15<=3'd0;
        wr_sop_1_0<=1'b0;
        wr_sop_1_1<=1'b0;
        wr_sop_1_2<=1'b0;
        wr_sop_1_3<=1'b0;
        wr_sop_1_4<=1'b0;
        wr_sop_1_5<=1'b0;
        wr_sop_1_6<=1'b0;
        wr_sop_1_7<=1'b0;
        wr_sop_1_8<=1'b0;
        wr_sop_1_9<=1'b0;
        wr_sop_1_10<=1'b0;
        wr_sop_1_11<=1'b0;
        wr_sop_1_12<=1'b0;
        wr_sop_1_13<=1'b0;
        wr_sop_1_14<=1'b0;
        wr_sop_1_15<=1'b0;
        wr_eop_1_0<=1'b0;
        wr_eop_1_1<=1'b0;
        wr_eop_1_2<=1'b0;
        wr_eop_1_3<=1'b0;
        wr_eop_1_4<=1'b0;
        wr_eop_1_5<=1'b0;
        wr_eop_1_6<=1'b0;
        wr_eop_1_7<=1'b0;
        wr_eop_1_8<=1'b0;
        wr_eop_1_9<=1'b0;
        wr_eop_1_10<=1'b0;
        wr_eop_1_11<=1'b0;
        wr_eop_1_12<=1'b0;
        wr_eop_1_13<=1'b0;
        wr_eop_1_14<=1'b0;
        wr_eop_1_15<=1'b0;
        wr_data_1_0<=36'd0;
        wr_data_1_1<=36'd0;
        wr_data_1_2<=36'd0;
        wr_data_1_3<=36'd0;
        wr_data_1_4<=36'd0;
        wr_data_1_5<=36'd0;
        wr_data_1_6<=36'd0;
        wr_data_1_7<=36'd0;
        wr_data_1_8<=36'd0;
        wr_data_1_9<=36'd0;
        wr_data_1_10<=36'd0;
        wr_data_1_11<=36'd0;
        wr_data_1_12<=36'd0;
        wr_data_1_13<=36'd0;
        wr_data_1_14<=36'd0;
        wr_data_1_15<=36'd0;
        wr_vld_1_0<=1'b0;
        wr_vld_1_1<=1'b0;
        wr_vld_1_2<=1'b0;
        wr_vld_1_3<=1'b0;
        wr_vld_1_4<=1'b0;
        wr_vld_1_5<=1'b0;
        wr_vld_1_6<=1'b0;
        wr_vld_1_7<=1'b0;
        wr_vld_1_8<=1'b0;
        wr_vld_1_9<=1'b0;
        wr_vld_1_10<=1'b0;
        wr_vld_1_11<=1'b0;
        wr_vld_1_12<=1'b0;
        wr_vld_1_13<=1'b0;
        wr_vld_1_14<=1'b0;
        wr_vld_1_15<=1'b0;                   
        data_status_1_0<=1'b0;
        data_status_1_1<=1'b0;
        data_status_1_2<=1'b0;
        data_status_1_3<=1'b0;
        data_status_1_4<=1'b0;
        data_status_1_5<=1'b0;
        data_status_1_6<=1'b0;
        data_status_1_7<=1'b0;
        data_status_1_8<=1'b0;
        data_status_1_9<=1'b0;
        data_status_1_10<=1'b0;
        data_status_1_11<=1'b0;
        data_status_1_12<=1'b0;
        data_status_1_13<=1'b0;
        data_status_1_14<=1'b0;
        data_status_1_15<=1'b0;
    end
    else if(REQ1_1)begin
        case(de_cc_1.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[1]) begin
                    data_size_1_0<=de_cc_1.DATA_SIZE;
                    data_pri_1_0<=de_cc_1.DATA_PRIO;
                    wr_sop_1_0<=de_cc_1.WR_SOP;
                    wr_eop_1_0<=de_cc_1.WR_EOP;
                    wr_data_1_0<=de_cc_1.WR_DATA;
                    wr_vld_1_0<=de_cc_1.WR_VLD;
                    data_status_1_0<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_0<=de_cc_1.DATA_SIZE;
                    data_pri_1_0<=de_cc_1.DATA_PRIO;
                    wr_sop_1_0<=de_cc_1.WR_SOP;
                    wr_eop_1_0<=de_cc_1.WR_EOP;
                    wr_data_1_0<=de_cc_1.WR_DATA;
                    wr_vld_1_0<=de_cc_1.WR_VLD;
                    data_status_1_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[1]) begin
                    data_size_1_1<=de_cc_1.DATA_SIZE;
                    data_pri_1_1<=de_cc_1.DATA_PRIO;
                    wr_sop_1_1<=de_cc_1.WR_SOP;
                    wr_eop_1_1<=de_cc_1.WR_EOP;
                    wr_data_1_1<=de_cc_1.WR_DATA;
                    wr_vld_1_1<=de_cc_1.WR_VLD;
                    data_status_1_1<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_1<=de_cc_1.DATA_SIZE;
                    data_pri_1_1<=de_cc_1.DATA_PRIO;
                    wr_sop_1_1<=de_cc_1.WR_SOP;
                    wr_eop_1_1<=de_cc_1.WR_EOP;
                    wr_data_1_1<=de_cc_1.WR_DATA;
                    wr_vld_1_1<=de_cc_1.WR_VLD;
                    data_status_1_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[1]) begin
                    data_size_1_2<=de_cc_1.DATA_SIZE;
                    data_pri_1_2<=de_cc_1.DATA_PRIO;
                    wr_sop_1_2<=de_cc_1.WR_SOP;
                    wr_eop_1_2<=de_cc_1.WR_EOP;
                    wr_data_1_2<=de_cc_1.WR_DATA;
                    wr_vld_1_2<=de_cc_1.WR_VLD;
                    data_status_1_2<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_2<=de_cc_1.DATA_SIZE;
                    data_pri_1_2<=de_cc_1.DATA_PRIO;
                    wr_sop_1_2<=de_cc_1.WR_SOP;
                    wr_eop_1_2<=de_cc_1.WR_EOP;
                    wr_data_1_2<=de_cc_1.WR_DATA;
                    wr_vld_1_2<=de_cc_1.WR_VLD;
                    data_status_1_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[1]) begin
                    data_size_1_3<=de_cc_1.DATA_SIZE;
                    data_pri_1_3<=de_cc_1.DATA_PRIO;
                    wr_sop_1_3<=de_cc_1.WR_SOP;
                    wr_eop_1_3<=de_cc_1.WR_EOP;
                    wr_data_1_3<=de_cc_1.WR_DATA;
                    wr_vld_1_3<=de_cc_1.WR_VLD;
                    data_status_1_3<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_3<=de_cc_1.DATA_SIZE;
                    data_pri_1_3<=de_cc_1.DATA_PRIO;
                    wr_sop_1_3<=de_cc_1.WR_SOP;
                    wr_eop_1_3<=de_cc_1.WR_EOP;
                    wr_data_1_3<=de_cc_1.WR_DATA;
                    wr_vld_1_3<=de_cc_1.WR_VLD;
                    data_status_1_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[1]) begin
                    data_size_1_4<=de_cc_1.DATA_SIZE;
                    data_pri_1_4<=de_cc_1.DATA_PRIO;
                    wr_sop_1_4<=de_cc_1.WR_SOP;
                    wr_eop_1_4<=de_cc_1.WR_EOP;
                    wr_data_1_4<=de_cc_1.WR_DATA;
                    wr_vld_1_4<=de_cc_1.WR_VLD;
                    data_status_1_4<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_4<=de_cc_1.DATA_SIZE;
                    data_pri_1_4<=de_cc_1.DATA_PRIO;
                    wr_sop_1_4<=de_cc_1.WR_SOP;
                    wr_eop_1_4<=de_cc_1.WR_EOP;
                    wr_data_1_4<=de_cc_1.WR_DATA;
                    wr_vld_1_4<=de_cc_1.WR_VLD;
                    data_status_1_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[1]) begin
                    data_size_1_5<=de_cc_1.DATA_SIZE;
                    data_pri_1_5<=de_cc_1.DATA_PRIO;
                    wr_sop_1_5<=de_cc_1.WR_SOP;
                    wr_eop_1_5<=de_cc_1.WR_EOP;
                    wr_data_1_5<=de_cc_1.WR_DATA;
                    wr_vld_1_5<=de_cc_1.WR_VLD;
                    data_status_1_5<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_5<=de_cc_1.DATA_SIZE;
                    data_pri_1_5<=de_cc_1.DATA_PRIO;
                    wr_sop_1_5<=de_cc_1.WR_SOP;
                    wr_eop_1_5<=de_cc_1.WR_EOP;
                    wr_data_1_5<=de_cc_1.WR_DATA;
                    wr_vld_1_5<=de_cc_1.WR_VLD;
                    data_status_1_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[1]) begin
                    data_size_1_6<=de_cc_1.DATA_SIZE;
                    data_pri_1_6<=de_cc_1.DATA_PRIO;
                    wr_sop_1_6<=de_cc_1.WR_SOP;
                    wr_eop_1_6<=de_cc_1.WR_EOP;
                    wr_data_1_6<=de_cc_1.WR_DATA;
                    wr_vld_1_6<=de_cc_1.WR_VLD;
                    data_status_1_6<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_6<=de_cc_1.DATA_SIZE;
                    data_pri_1_6<=de_cc_1.DATA_PRIO;
                    wr_sop_1_6<=de_cc_1.WR_SOP;
                    wr_eop_1_6<=de_cc_1.WR_EOP;
                    wr_data_1_6<=de_cc_1.WR_DATA;
                    wr_vld_1_6<=de_cc_1.WR_VLD;
                    data_status_1_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[1]) begin
                    data_size_1_7<=de_cc_1.DATA_SIZE;
                    data_pri_1_7<=de_cc_1.DATA_PRIO;
                    wr_sop_1_7<=de_cc_1.WR_SOP;
                    wr_eop_1_7<=de_cc_1.WR_EOP;
                    wr_data_1_7<=de_cc_1.WR_DATA;
                    wr_vld_1_7<=de_cc_1.WR_VLD;
                    data_status_1_7<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_7<=de_cc_1.DATA_SIZE;
                    data_pri_1_7<=de_cc_1.DATA_PRIO;
                    wr_sop_1_7<=de_cc_1.WR_SOP;
                    wr_eop_1_7<=de_cc_1.WR_EOP;
                    wr_data_1_7<=de_cc_1.WR_DATA;
                    wr_vld_1_7<=de_cc_1.WR_VLD;
                    data_status_1_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[1]) begin
                    data_size_1_8<=de_cc_1.DATA_SIZE;
                    data_pri_1_8<=de_cc_1.DATA_PRIO;
                    wr_sop_1_8<=de_cc_1.WR_SOP;
                    wr_eop_1_8<=de_cc_1.WR_EOP;
                    wr_data_1_8<=de_cc_1.WR_DATA;
                    wr_vld_1_8<=de_cc_1.WR_VLD;
                    data_status_1_8<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_8<=de_cc_1.DATA_SIZE;
                    data_pri_1_8<=de_cc_1.DATA_PRIO;
                    wr_sop_1_8<=de_cc_1.WR_SOP;
                    wr_eop_1_8<=de_cc_1.WR_EOP;
                    wr_data_1_8<=de_cc_1.WR_DATA;
                    wr_vld_1_8<=de_cc_1.WR_VLD;
                    data_status_1_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[1]) begin
                    data_size_1_9<=de_cc_1.DATA_SIZE;
                    data_pri_1_9<=de_cc_1.DATA_PRIO;
                    wr_sop_1_9<=de_cc_1.WR_SOP;
                    wr_eop_1_9<=de_cc_1.WR_EOP;
                    wr_data_1_9<=de_cc_1.WR_DATA;
                    wr_vld_1_9<=de_cc_1.WR_VLD;
                    data_status_1_9<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_9<=de_cc_1.DATA_SIZE;
                    data_pri_1_9<=de_cc_1.DATA_PRIO;
                    wr_sop_1_9<=de_cc_1.WR_SOP;
                    wr_eop_1_9<=de_cc_1.WR_EOP;
                    wr_data_1_9<=de_cc_1.WR_DATA;
                    wr_vld_1_9<=de_cc_1.WR_VLD;
                    data_status_1_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[1]) begin
                    data_size_1_10<=de_cc_1.DATA_SIZE;
                    data_pri_1_10<=de_cc_1.DATA_PRIO;
                    wr_sop_1_10<=de_cc_1.WR_SOP;
                    wr_eop_1_10<=de_cc_1.WR_EOP;
                    wr_data_1_10<=de_cc_1.WR_DATA;
                    wr_vld_1_10<=de_cc_1.WR_VLD;
                    data_status_1_10<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_10<=de_cc_1.DATA_SIZE;
                    data_pri_1_10<=de_cc_1.DATA_PRIO;
                    wr_sop_1_10<=de_cc_1.WR_SOP;
                    wr_eop_1_10<=de_cc_1.WR_EOP;
                    wr_data_1_10<=de_cc_1.WR_DATA;
                    wr_vld_1_10<=de_cc_1.WR_VLD;
                    data_status_1_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[1]) begin
                    data_size_1_11<=de_cc_1.DATA_SIZE;
                    data_pri_1_11<=de_cc_1.DATA_PRIO;
                    wr_sop_1_11<=de_cc_1.WR_SOP;
                    wr_eop_1_11<=de_cc_1.WR_EOP;
                    wr_data_1_11<=de_cc_1.WR_DATA;
                    wr_vld_1_11<=de_cc_1.WR_VLD;
                    data_status_1_11<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_11<=de_cc_1.DATA_SIZE;
                    data_pri_1_11<=de_cc_1.DATA_PRIO;
                    wr_sop_1_11<=de_cc_1.WR_SOP;
                    wr_eop_1_11<=de_cc_1.WR_EOP;
                    wr_data_1_11<=de_cc_1.WR_DATA;
                    wr_vld_1_11<=de_cc_1.WR_VLD;
                    data_status_1_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[1]) begin
                    data_size_1_12<=de_cc_1.DATA_SIZE;
                    data_pri_1_12<=de_cc_1.DATA_PRIO;
                    wr_sop_1_12<=de_cc_1.WR_SOP;
                    wr_eop_1_12<=de_cc_1.WR_EOP;
                    wr_data_1_12<=de_cc_1.WR_DATA;
                    wr_vld_1_12<=de_cc_1.WR_VLD;
                    data_status_1_12<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_12<=de_cc_1.DATA_SIZE;
                    data_pri_1_12<=de_cc_1.DATA_PRIO;
                    wr_sop_1_12<=de_cc_1.WR_SOP;
                    wr_eop_1_12<=de_cc_1.WR_EOP;
                    wr_data_1_12<=de_cc_1.WR_DATA;
                    wr_vld_1_12<=de_cc_1.WR_VLD;
                    data_status_1_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[1]) begin
                    data_size_1_13<=de_cc_1.DATA_SIZE;
                    data_pri_1_13<=de_cc_1.DATA_PRIO;
                    wr_sop_1_13<=de_cc_1.WR_SOP;
                    wr_eop_1_13<=de_cc_1.WR_EOP;
                    wr_data_1_13<=de_cc_1.WR_DATA;
                    wr_vld_1_13<=de_cc_1.WR_VLD;
                    data_status_1_13<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_13<=de_cc_1.DATA_SIZE;
                    data_pri_1_13<=de_cc_1.DATA_PRIO;
                    wr_sop_1_13<=de_cc_1.WR_SOP;
                    wr_eop_1_13<=de_cc_1.WR_EOP;
                    wr_data_1_13<=de_cc_1.WR_DATA;
                    wr_vld_1_13<=de_cc_1.WR_VLD;
                    data_status_1_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[1]) begin
                    data_size_1_14<=de_cc_1.DATA_SIZE;
                    data_pri_1_14<=de_cc_1.DATA_PRIO;
                    wr_sop_1_14<=de_cc_1.WR_SOP;
                    wr_eop_1_14<=de_cc_1.WR_EOP;
                    wr_data_1_14<=de_cc_1.WR_DATA;
                    wr_vld_1_14<=de_cc_1.WR_VLD;
                    data_status_1_14<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_14<=de_cc_1.DATA_SIZE;
                    data_pri_1_14<=de_cc_1.DATA_PRIO;
                    wr_sop_1_14<=de_cc_1.WR_SOP;
                    wr_eop_1_14<=de_cc_1.WR_EOP;
                    wr_data_1_14<=de_cc_1.WR_DATA;
                    wr_vld_1_14<=de_cc_1.WR_VLD;
                    data_status_1_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[1]) begin
                    data_size_1_15<=de_cc_1.DATA_SIZE;
                    data_pri_1_15<=de_cc_1.DATA_PRIO;
                    wr_sop_1_15<=de_cc_1.WR_SOP;
                    wr_eop_1_15<=de_cc_1.WR_EOP;
                    wr_data_1_15<=de_cc_1.WR_DATA;
                    wr_vld_1_15<=de_cc_1.WR_VLD;
                    data_status_1_15<=1'b1;
                end
                else if(huan_cun[1]) begin
                    data_size_1_15<=de_cc_1.DATA_SIZE;
                    data_pri_1_15<=de_cc_1.DATA_PRIO;
                    wr_sop_1_15<=de_cc_1.WR_SOP;
                    wr_eop_1_15<=de_cc_1.WR_EOP;
                    wr_data_1_15<=de_cc_1.WR_DATA;
                    wr_vld_1_15<=de_cc_1.WR_VLD;
                    data_status_1_15<=1'b0;
                end
            end
            default:begin
                data_size_1_0<=11'd0;
                data_size_1_1<=11'd0;
                data_size_1_2<=11'd0;
                data_size_1_3<=11'd0;
                data_size_1_4<=11'd0;
                data_size_1_5<=11'd0;
                data_size_1_6<=11'd0;
                data_size_1_7<=11'd0;
                data_size_1_8<=11'd0;
                data_size_1_9<=11'd0;
                data_size_1_10<=11'd0;
                data_size_1_11<=11'd0;
                data_size_1_12<=11'd0;
                data_size_1_13<=11'd0;
                data_size_1_14<=11'd0;
                data_size_1_15<=11'd0;
                data_pri_1_0<=3'd0;
                data_pri_1_1<=3'd0;
                data_pri_1_2<=3'd0;
                data_pri_1_3<=3'd0;
                data_pri_1_4<=3'd0;
                data_pri_1_5<=3'd0;
                data_pri_1_6<=3'd0;
                data_pri_1_7<=3'd0;
                data_pri_1_8<=3'd0;
                data_pri_1_9<=3'd0;
                data_pri_1_10<=3'd0;
                data_pri_1_11<=3'd0;
                data_pri_1_12<=3'd0;
                data_pri_1_13<=3'd0;
                data_pri_1_14<=3'd0;
                data_pri_1_15<=3'd0;
                wr_sop_1_0<=1'b0;
                wr_sop_1_1<=1'b0;
                wr_sop_1_2<=1'b0;
                wr_sop_1_3<=1'b0;
                wr_sop_1_4<=1'b0;
                wr_sop_1_5<=1'b0;
                wr_sop_1_6<=1'b0;
                wr_sop_1_7<=1'b0;
                wr_sop_1_8<=1'b0;
                wr_sop_1_9<=1'b0;
                wr_sop_1_10<=1'b0;
                wr_sop_1_11<=1'b0;
                wr_sop_1_12<=1'b0;
                wr_sop_1_13<=1'b0;
                wr_sop_1_14<=1'b0;
                wr_sop_1_15<=1'b0;
                wr_eop_1_0<=1'b0;
                wr_eop_1_1<=1'b0;
                wr_eop_1_2<=1'b0;
                wr_eop_1_3<=1'b0;
                wr_eop_1_4<=1'b0;
                wr_eop_1_5<=1'b0;
                wr_eop_1_6<=1'b0;
                wr_eop_1_7<=1'b0;
                wr_eop_1_8<=1'b0;
                wr_eop_1_9<=1'b0;
                wr_eop_1_10<=1'b0;
                wr_eop_1_11<=1'b0;
                wr_eop_1_12<=1'b0;
                wr_eop_1_13<=1'b0;
                wr_eop_1_14<=1'b0;
                wr_eop_1_15<=1'b0;
                wr_data_1_0<=36'd0;
                wr_data_1_1<=36'd0;
                wr_data_1_2<=36'd0;
                wr_data_1_3<=36'd0;
                wr_data_1_4<=36'd0;
                wr_data_1_5<=36'd0;
                wr_data_1_6<=36'd0;
                wr_data_1_7<=36'd0;
                wr_data_1_8<=36'd0;
                wr_data_1_9<=36'd0;
                wr_data_1_10<=36'd0;
                wr_data_1_11<=36'd0;
                wr_data_1_12<=36'd0;
                wr_data_1_13<=36'd0;
                wr_data_1_14<=36'd0;
                wr_data_1_15<=36'd0;
                wr_vld_1_0<=1'b0;
                wr_vld_1_1<=1'b0;
                wr_vld_1_2<=1'b0;
                wr_vld_1_3<=1'b0;
                wr_vld_1_4<=1'b0;
                wr_vld_1_5<=1'b0;
                wr_vld_1_6<=1'b0;
                wr_vld_1_7<=1'b0;
                wr_vld_1_8<=1'b0;
                wr_vld_1_9<=1'b0;
                wr_vld_1_10<=1'b0;
                wr_vld_1_11<=1'b0;
                wr_vld_1_12<=1'b0;
                wr_vld_1_13<=1'b0;
                wr_vld_1_14<=1'b0;
                wr_vld_1_15<=1'b0;                   
                data_status_1_0<=1'b0;
                data_status_1_1<=1'b0;
                data_status_1_2<=1'b0;
                data_status_1_3<=1'b0;
                data_status_1_4<=1'b0;
                data_status_1_5<=1'b0;
                data_status_1_6<=1'b0;
                data_status_1_7<=1'b0;
                data_status_1_8<=1'b0;
                data_status_1_9<=1'b0;
                data_status_1_10<=1'b0;
                data_status_1_11<=1'b0;
                data_status_1_12<=1'b0;
                data_status_1_13<=1'b0;
                data_status_1_14<=1'b0;
                data_status_1_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_2_0<=11'd0;
        data_size_2_1<=11'd0;
        data_size_2_2<=11'd0;
        data_size_2_3<=11'd0;
        data_size_2_4<=11'd0;
        data_size_2_5<=11'd0;
        data_size_2_6<=11'd0;
        data_size_2_7<=11'd0;
        data_size_2_8<=11'd0;
        data_size_2_9<=11'd0;
        data_size_2_10<=11'd0;
        data_size_2_11<=11'd0;
        data_size_2_12<=11'd0;
        data_size_2_13<=11'd0;
        data_size_2_14<=11'd0;
        data_size_2_15<=11'd0;
        data_pri_2_0<=3'd0;
        data_pri_2_1<=3'd0;
        data_pri_2_2<=3'd0;
        data_pri_2_3<=3'd0;
        data_pri_2_4<=3'd0;
        data_pri_2_5<=3'd0;
        data_pri_2_6<=3'd0;
        data_pri_2_7<=3'd0;
        data_pri_2_8<=3'd0;
        data_pri_2_9<=3'd0;
        data_pri_2_10<=3'd0;
        data_pri_2_11<=3'd0;
        data_pri_2_12<=3'd0;
        data_pri_2_13<=3'd0;
        data_pri_2_14<=3'd0;
        data_pri_2_15<=3'd0;
        wr_sop_2_0<=1'b0;
        wr_sop_2_1<=1'b0;
        wr_sop_2_2<=1'b0;
        wr_sop_2_3<=1'b0;
        wr_sop_2_4<=1'b0;
        wr_sop_2_5<=1'b0;
        wr_sop_2_6<=1'b0;
        wr_sop_2_7<=1'b0;
        wr_sop_2_8<=1'b0;
        wr_sop_2_9<=1'b0;
        wr_sop_2_10<=1'b0;
        wr_sop_2_11<=1'b0;
        wr_sop_2_12<=1'b0;
        wr_sop_2_13<=1'b0;
        wr_sop_2_14<=1'b0;
        wr_sop_2_15<=1'b0;
        wr_eop_2_0<=1'b0;
        wr_eop_2_1<=1'b0;
        wr_eop_2_2<=1'b0;
        wr_eop_2_3<=1'b0;
        wr_eop_2_4<=1'b0;
        wr_eop_2_5<=1'b0;
        wr_eop_2_6<=1'b0;
        wr_eop_2_7<=1'b0;
        wr_eop_2_8<=1'b0;
        wr_eop_2_9<=1'b0;
        wr_eop_2_10<=1'b0;
        wr_eop_2_11<=1'b0;
        wr_eop_2_12<=1'b0;
        wr_eop_2_13<=1'b0;
        wr_eop_2_14<=1'b0;
        wr_eop_2_15<=1'b0;
        wr_data_2_0<=36'd0;
        wr_data_2_1<=36'd0;
        wr_data_2_2<=36'd0;
        wr_data_2_3<=36'd0;
        wr_data_2_4<=36'd0;
        wr_data_2_5<=36'd0;
        wr_data_2_6<=36'd0;
        wr_data_2_7<=36'd0;
        wr_data_2_8<=36'd0;
        wr_data_2_9<=36'd0;
        wr_data_2_10<=36'd0;
        wr_data_2_11<=36'd0;
        wr_data_2_12<=36'd0;
        wr_data_2_13<=36'd0;
        wr_data_2_14<=36'd0;
        wr_data_2_15<=36'd0;
        wr_vld_2_0<=1'b0;
        wr_vld_2_1<=1'b0;
        wr_vld_2_2<=1'b0;
        wr_vld_2_3<=1'b0;
        wr_vld_2_4<=1'b0;
        wr_vld_2_5<=1'b0;
        wr_vld_2_6<=1'b0;
        wr_vld_2_7<=1'b0;
        wr_vld_2_8<=1'b0;
        wr_vld_2_9<=1'b0;
        wr_vld_2_10<=1'b0;
        wr_vld_2_11<=1'b0;
        wr_vld_2_12<=1'b0;
        wr_vld_2_13<=1'b0;
        wr_vld_2_14<=1'b0;
        wr_vld_2_15<=1'b0;                   
        data_status_2_0<=1'b0;
        data_status_2_1<=1'b0;
        data_status_2_2<=1'b0;
        data_status_2_3<=1'b0;
        data_status_2_4<=1'b0;
        data_status_2_5<=1'b0;
        data_status_2_6<=1'b0;
        data_status_2_7<=1'b0;
        data_status_2_8<=1'b0;
        data_status_2_9<=1'b0;
        data_status_2_10<=1'b0;
        data_status_2_11<=1'b0;
        data_status_2_12<=1'b0;
        data_status_2_13<=1'b0;
        data_status_2_14<=1'b0;
        data_status_2_15<=1'b0;
    end
    else if(REQ2_1)begin
        case(de_cc_2.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[2]) begin
                    data_size_2_0<=de_cc_2.DATA_SIZE;
                    data_pri_2_0<=de_cc_2.DATA_PRIO;
                    wr_sop_2_0<=de_cc_2.WR_SOP;
                    wr_eop_2_0<=de_cc_2.WR_EOP;
                    wr_data_2_0<=de_cc_2.WR_DATA;
                    wr_vld_2_0<=de_cc_2.WR_VLD;
                    data_status_2_0<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_0<=de_cc_2.DATA_SIZE;
                    data_pri_2_0<=de_cc_2.DATA_PRIO;
                    wr_sop_2_0<=de_cc_2.WR_SOP;
                    wr_eop_2_0<=de_cc_2.WR_EOP;
                    wr_data_2_0<=de_cc_2.WR_DATA;
                    wr_vld_2_0<=de_cc_2.WR_VLD;
                    data_status_2_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[2]) begin
                    data_size_2_1<=de_cc_2.DATA_SIZE;
                    data_pri_2_1<=de_cc_2.DATA_PRIO;
                    wr_sop_2_1<=de_cc_2.WR_SOP;
                    wr_eop_2_1<=de_cc_2.WR_EOP;
                    wr_data_2_1<=de_cc_2.WR_DATA;
                    wr_vld_2_1<=de_cc_2.WR_VLD;
                    data_status_2_1<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_1<=de_cc_2.DATA_SIZE;
                    data_pri_2_1<=de_cc_2.DATA_PRIO;
                    wr_sop_2_1<=de_cc_2.WR_SOP;
                    wr_eop_2_1<=de_cc_2.WR_EOP;
                    wr_data_2_1<=de_cc_2.WR_DATA;
                    wr_vld_2_1<=de_cc_2.WR_VLD;
                    data_status_2_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[2]) begin
                    data_size_2_2<=de_cc_2.DATA_SIZE;
                    data_pri_2_2<=de_cc_2.DATA_PRIO;
                    wr_sop_2_2<=de_cc_2.WR_SOP;
                    wr_eop_2_2<=de_cc_2.WR_EOP;
                    wr_data_2_2<=de_cc_2.WR_DATA;
                    wr_vld_2_2<=de_cc_2.WR_VLD;
                    data_status_2_2<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_2<=de_cc_2.DATA_SIZE;
                    data_pri_2_2<=de_cc_2.DATA_PRIO;
                    wr_sop_2_2<=de_cc_2.WR_SOP;
                    wr_eop_2_2<=de_cc_2.WR_EOP;
                    wr_data_2_2<=de_cc_2.WR_DATA;
                    wr_vld_2_2<=de_cc_2.WR_VLD;
                    data_status_2_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[2]) begin
                    data_size_2_3<=de_cc_2.DATA_SIZE;
                    data_pri_2_3<=de_cc_2.DATA_PRIO;
                    wr_sop_2_3<=de_cc_2.WR_SOP;
                    wr_eop_2_3<=de_cc_2.WR_EOP;
                    wr_data_2_3<=de_cc_2.WR_DATA;
                    wr_vld_2_3<=de_cc_2.WR_VLD;
                    data_status_2_3<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_3<=de_cc_2.DATA_SIZE;
                    data_pri_2_3<=de_cc_2.DATA_PRIO;
                    wr_sop_2_3<=de_cc_2.WR_SOP;
                    wr_eop_2_3<=de_cc_2.WR_EOP;
                    wr_data_2_3<=de_cc_2.WR_DATA;
                    wr_vld_2_3<=de_cc_2.WR_VLD;
                    data_status_2_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[2]) begin
                    data_size_2_4<=de_cc_2.DATA_SIZE;
                    data_pri_2_4<=de_cc_2.DATA_PRIO;
                    wr_sop_2_4<=de_cc_2.WR_SOP;
                    wr_eop_2_4<=de_cc_2.WR_EOP;
                    wr_data_2_4<=de_cc_2.WR_DATA;
                    wr_vld_2_4<=de_cc_2.WR_VLD;
                    data_status_2_4<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_4<=de_cc_2.DATA_SIZE;
                    data_pri_2_4<=de_cc_2.DATA_PRIO;
                    wr_sop_2_4<=de_cc_2.WR_SOP;
                    wr_eop_2_4<=de_cc_2.WR_EOP;
                    wr_data_2_4<=de_cc_2.WR_DATA;
                    wr_vld_2_4<=de_cc_2.WR_VLD;
                    data_status_2_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[2]) begin
                    data_size_2_5<=de_cc_2.DATA_SIZE;
                    data_pri_2_5<=de_cc_2.DATA_PRIO;
                    wr_sop_2_5<=de_cc_2.WR_SOP;
                    wr_eop_2_5<=de_cc_2.WR_EOP;
                    wr_data_2_5<=de_cc_2.WR_DATA;
                    wr_vld_2_5<=de_cc_2.WR_VLD;
                    data_status_2_5<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_5<=de_cc_2.DATA_SIZE;
                    data_pri_2_5<=de_cc_2.DATA_PRIO;
                    wr_sop_2_5<=de_cc_2.WR_SOP;
                    wr_eop_2_5<=de_cc_2.WR_EOP;
                    wr_data_2_5<=de_cc_2.WR_DATA;
                    wr_vld_2_5<=de_cc_2.WR_VLD;
                    data_status_2_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[2]) begin
                    data_size_2_6<=de_cc_2.DATA_SIZE;
                    data_pri_2_6<=de_cc_2.DATA_PRIO;
                    wr_sop_2_6<=de_cc_2.WR_SOP;
                    wr_eop_2_6<=de_cc_2.WR_EOP;
                    wr_data_2_6<=de_cc_2.WR_DATA;
                    wr_vld_2_6<=de_cc_2.WR_VLD;
                    data_status_2_6<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_6<=de_cc_2.DATA_SIZE;
                    data_pri_2_6<=de_cc_2.DATA_PRIO;
                    wr_sop_2_6<=de_cc_2.WR_SOP;
                    wr_eop_2_6<=de_cc_2.WR_EOP;
                    wr_data_2_6<=de_cc_2.WR_DATA;
                    wr_vld_2_6<=de_cc_2.WR_VLD;
                    data_status_2_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[2]) begin
                    data_size_2_7<=de_cc_2.DATA_SIZE;
                    data_pri_2_7<=de_cc_2.DATA_PRIO;
                    wr_sop_2_7<=de_cc_2.WR_SOP;
                    wr_eop_2_7<=de_cc_2.WR_EOP;
                    wr_data_2_7<=de_cc_2.WR_DATA;
                    wr_vld_2_7<=de_cc_2.WR_VLD;
                    data_status_2_7<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_7<=de_cc_2.DATA_SIZE;
                    data_pri_2_7<=de_cc_2.DATA_PRIO;
                    wr_sop_2_7<=de_cc_2.WR_SOP;
                    wr_eop_2_7<=de_cc_2.WR_EOP;
                    wr_data_2_7<=de_cc_2.WR_DATA;
                    wr_vld_2_7<=de_cc_2.WR_VLD;
                    data_status_2_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[2]) begin
                    data_size_2_8<=de_cc_2.DATA_SIZE;
                    data_pri_2_8<=de_cc_2.DATA_PRIO;
                    wr_sop_2_8<=de_cc_2.WR_SOP;
                    wr_eop_2_8<=de_cc_2.WR_EOP;
                    wr_data_2_8<=de_cc_2.WR_DATA;
                    wr_vld_2_8<=de_cc_2.WR_VLD;
                    data_status_2_8<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_8<=de_cc_2.DATA_SIZE;
                    data_pri_2_8<=de_cc_2.DATA_PRIO;
                    wr_sop_2_8<=de_cc_2.WR_SOP;
                    wr_eop_2_8<=de_cc_2.WR_EOP;
                    wr_data_2_8<=de_cc_2.WR_DATA;
                    wr_vld_2_8<=de_cc_2.WR_VLD;
                    data_status_2_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[2]) begin
                    data_size_2_9<=de_cc_2.DATA_SIZE;
                    data_pri_2_9<=de_cc_2.DATA_PRIO;
                    wr_sop_2_9<=de_cc_2.WR_SOP;
                    wr_eop_2_9<=de_cc_2.WR_EOP;
                    wr_data_2_9<=de_cc_2.WR_DATA;
                    wr_vld_2_9<=de_cc_2.WR_VLD;
                    data_status_2_9<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_9<=de_cc_2.DATA_SIZE;
                    data_pri_2_9<=de_cc_2.DATA_PRIO;
                    wr_sop_2_9<=de_cc_2.WR_SOP;
                    wr_eop_2_9<=de_cc_2.WR_EOP;
                    wr_data_2_9<=de_cc_2.WR_DATA;
                    wr_vld_2_9<=de_cc_2.WR_VLD;
                    data_status_2_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[2]) begin
                    data_size_2_10<=de_cc_2.DATA_SIZE;
                    data_pri_2_10<=de_cc_2.DATA_PRIO;
                    wr_sop_2_10<=de_cc_2.WR_SOP;
                    wr_eop_2_10<=de_cc_2.WR_EOP;
                    wr_data_2_10<=de_cc_2.WR_DATA;
                    wr_vld_2_10<=de_cc_2.WR_VLD;
                    data_status_2_10<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_10<=de_cc_2.DATA_SIZE;
                    data_pri_2_10<=de_cc_2.DATA_PRIO;
                    wr_sop_2_10<=de_cc_2.WR_SOP;
                    wr_eop_2_10<=de_cc_2.WR_EOP;
                    wr_data_2_10<=de_cc_2.WR_DATA;
                    wr_vld_2_10<=de_cc_2.WR_VLD;
                    data_status_2_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[2]) begin
                    data_size_2_11<=de_cc_2.DATA_SIZE;
                    data_pri_2_11<=de_cc_2.DATA_PRIO;
                    wr_sop_2_11<=de_cc_2.WR_SOP;
                    wr_eop_2_11<=de_cc_2.WR_EOP;
                    wr_data_2_11<=de_cc_2.WR_DATA;
                    wr_vld_2_11<=de_cc_2.WR_VLD;
                    data_status_2_11<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_11<=de_cc_2.DATA_SIZE;
                    data_pri_2_11<=de_cc_2.DATA_PRIO;
                    wr_sop_2_11<=de_cc_2.WR_SOP;
                    wr_eop_2_11<=de_cc_2.WR_EOP;
                    wr_data_2_11<=de_cc_2.WR_DATA;
                    wr_vld_2_11<=de_cc_2.WR_VLD;
                    data_status_2_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[2]) begin
                    data_size_2_12<=de_cc_2.DATA_SIZE;
                    data_pri_2_12<=de_cc_2.DATA_PRIO;
                    wr_sop_2_12<=de_cc_2.WR_SOP;
                    wr_eop_2_12<=de_cc_2.WR_EOP;
                    wr_data_2_12<=de_cc_2.WR_DATA;
                    wr_vld_2_12<=de_cc_2.WR_VLD;
                    data_status_2_12<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_12<=de_cc_2.DATA_SIZE;
                    data_pri_2_12<=de_cc_2.DATA_PRIO;
                    wr_sop_2_12<=de_cc_2.WR_SOP;
                    wr_eop_2_12<=de_cc_2.WR_EOP;
                    wr_data_2_12<=de_cc_2.WR_DATA;
                    wr_vld_2_12<=de_cc_2.WR_VLD;
                    data_status_2_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[2]) begin
                    data_size_2_13<=de_cc_2.DATA_SIZE;
                    data_pri_2_13<=de_cc_2.DATA_PRIO;
                    wr_sop_2_13<=de_cc_2.WR_SOP;
                    wr_eop_2_13<=de_cc_2.WR_EOP;
                    wr_data_2_13<=de_cc_2.WR_DATA;
                    wr_vld_2_13<=de_cc_2.WR_VLD;
                    data_status_2_13<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_13<=de_cc_2.DATA_SIZE;
                    data_pri_2_13<=de_cc_2.DATA_PRIO;
                    wr_sop_2_13<=de_cc_2.WR_SOP;
                    wr_eop_2_13<=de_cc_2.WR_EOP;
                    wr_data_2_13<=de_cc_2.WR_DATA;
                    wr_vld_2_13<=de_cc_2.WR_VLD;
                    data_status_2_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[2]) begin
                    data_size_2_14<=de_cc_2.DATA_SIZE;
                    data_pri_2_14<=de_cc_2.DATA_PRIO;
                    wr_sop_2_14<=de_cc_2.WR_SOP;
                    wr_eop_2_14<=de_cc_2.WR_EOP;
                    wr_data_2_14<=de_cc_2.WR_DATA;
                    wr_vld_2_14<=de_cc_2.WR_VLD;
                    data_status_2_14<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_14<=de_cc_2.DATA_SIZE;
                    data_pri_2_14<=de_cc_2.DATA_PRIO;
                    wr_sop_2_14<=de_cc_2.WR_SOP;
                    wr_eop_2_14<=de_cc_2.WR_EOP;
                    wr_data_2_14<=de_cc_2.WR_DATA;
                    wr_vld_2_14<=de_cc_2.WR_VLD;
                    data_status_2_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[2]) begin
                    data_size_2_15<=de_cc_2.DATA_SIZE;
                    data_pri_2_15<=de_cc_2.DATA_PRIO;
                    wr_sop_2_15<=de_cc_2.WR_SOP;
                    wr_eop_2_15<=de_cc_2.WR_EOP;
                    wr_data_2_15<=de_cc_2.WR_DATA;
                    wr_vld_2_15<=de_cc_2.WR_VLD;
                    data_status_2_15<=1'b1;
                end
                else if(huan_cun[2]) begin
                    data_size_2_15<=de_cc_2.DATA_SIZE;
                    data_pri_2_15<=de_cc_2.DATA_PRIO;
                    wr_sop_2_15<=de_cc_2.WR_SOP;
                    wr_eop_2_15<=de_cc_2.WR_EOP;
                    wr_data_2_15<=de_cc_2.WR_DATA;
                    wr_vld_2_15<=de_cc_2.WR_VLD;
                    data_status_2_15<=1'b0;
                end
            end
            default:begin
                data_size_2_0<=11'd0;
                data_size_2_1<=11'd0;
                data_size_2_2<=11'd0;
                data_size_2_3<=11'd0;
                data_size_2_4<=11'd0;
                data_size_2_5<=11'd0;
                data_size_2_6<=11'd0;
                data_size_2_7<=11'd0;
                data_size_2_8<=11'd0;
                data_size_2_9<=11'd0;
                data_size_2_10<=11'd0;
                data_size_2_11<=11'd0;
                data_size_2_12<=11'd0;
                data_size_2_13<=11'd0;
                data_size_2_14<=11'd0;
                data_size_2_15<=11'd0;
                data_pri_2_0<=3'd0;
                data_pri_2_1<=3'd0;
                data_pri_2_2<=3'd0;
                data_pri_2_3<=3'd0;
                data_pri_2_4<=3'd0;
                data_pri_2_5<=3'd0;
                data_pri_2_6<=3'd0;
                data_pri_2_7<=3'd0;
                data_pri_2_8<=3'd0;
                data_pri_2_9<=3'd0;
                data_pri_2_10<=3'd0;
                data_pri_2_11<=3'd0;
                data_pri_2_12<=3'd0;
                data_pri_2_13<=3'd0;
                data_pri_2_14<=3'd0;
                data_pri_2_15<=3'd0;
                wr_sop_2_0<=1'b0;
                wr_sop_2_1<=1'b0;
                wr_sop_2_2<=1'b0;
                wr_sop_2_3<=1'b0;
                wr_sop_2_4<=1'b0;
                wr_sop_2_5<=1'b0;
                wr_sop_2_6<=1'b0;
                wr_sop_2_7<=1'b0;
                wr_sop_2_8<=1'b0;
                wr_sop_2_9<=1'b0;
                wr_sop_2_10<=1'b0;
                wr_sop_2_11<=1'b0;
                wr_sop_2_12<=1'b0;
                wr_sop_2_13<=1'b0;
                wr_sop_2_14<=1'b0;
                wr_sop_2_15<=1'b0;
                wr_eop_2_0<=1'b0;
                wr_eop_2_1<=1'b0;
                wr_eop_2_2<=1'b0;
                wr_eop_2_3<=1'b0;
                wr_eop_2_4<=1'b0;
                wr_eop_2_5<=1'b0;
                wr_eop_2_6<=1'b0;
                wr_eop_2_7<=1'b0;
                wr_eop_2_8<=1'b0;
                wr_eop_2_9<=1'b0;
                wr_eop_2_10<=1'b0;
                wr_eop_2_11<=1'b0;
                wr_eop_2_12<=1'b0;
                wr_eop_2_13<=1'b0;
                wr_eop_2_14<=1'b0;
                wr_eop_2_15<=1'b0;
                wr_data_2_0<=36'd0;
                wr_data_2_1<=36'd0;
                wr_data_2_2<=36'd0;
                wr_data_2_3<=36'd0;
                wr_data_2_4<=36'd0;
                wr_data_2_5<=36'd0;
                wr_data_2_6<=36'd0;
                wr_data_2_7<=36'd0;
                wr_data_2_8<=36'd0;
                wr_data_2_9<=36'd0;
                wr_data_2_10<=36'd0;
                wr_data_2_11<=36'd0;
                wr_data_2_12<=36'd0;
                wr_data_2_13<=36'd0;
                wr_data_2_14<=36'd0;
                wr_data_2_15<=36'd0;
                wr_vld_2_0<=1'b0;
                wr_vld_2_1<=1'b0;
                wr_vld_2_2<=1'b0;
                wr_vld_2_3<=1'b0;
                wr_vld_2_4<=1'b0;
                wr_vld_2_5<=1'b0;
                wr_vld_2_6<=1'b0;
                wr_vld_2_7<=1'b0;
                wr_vld_2_8<=1'b0;
                wr_vld_2_9<=1'b0;
                wr_vld_2_10<=1'b0;
                wr_vld_2_11<=1'b0;
                wr_vld_2_12<=1'b0;
                wr_vld_2_13<=1'b0;
                wr_vld_2_14<=1'b0;
                wr_vld_2_15<=1'b0;                   
                data_status_2_0<=1'b0;
                data_status_2_1<=1'b0;
                data_status_2_2<=1'b0;
                data_status_2_3<=1'b0;
                data_status_2_4<=1'b0;
                data_status_2_5<=1'b0;
                data_status_2_6<=1'b0;
                data_status_2_7<=1'b0;
                data_status_2_8<=1'b0;
                data_status_2_9<=1'b0;
                data_status_2_10<=1'b0;
                data_status_2_11<=1'b0;
                data_status_2_12<=1'b0;
                data_status_2_13<=1'b0;
                data_status_2_14<=1'b0;
                data_status_2_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_3_0<=11'd0;
        data_size_3_1<=11'd0;
        data_size_3_2<=11'd0;
        data_size_3_3<=11'd0;
        data_size_3_4<=11'd0;
        data_size_3_5<=11'd0;
        data_size_3_6<=11'd0;
        data_size_3_7<=11'd0;
        data_size_3_8<=11'd0;
        data_size_3_9<=11'd0;
        data_size_3_10<=11'd0;
        data_size_3_11<=11'd0;
        data_size_3_12<=11'd0;
        data_size_3_13<=11'd0;
        data_size_3_14<=11'd0;
        data_size_3_15<=11'd0;
        data_pri_3_0<=3'd0;
        data_pri_3_1<=3'd0;
        data_pri_3_2<=3'd0;
        data_pri_3_3<=3'd0;
        data_pri_3_4<=3'd0;
        data_pri_3_5<=3'd0;
        data_pri_3_6<=3'd0;
        data_pri_3_7<=3'd0;
        data_pri_3_8<=3'd0;
        data_pri_3_9<=3'd0;
        data_pri_3_10<=3'd0;
        data_pri_3_11<=3'd0;
        data_pri_3_12<=3'd0;
        data_pri_3_13<=3'd0;
        data_pri_3_14<=3'd0;
        data_pri_3_15<=3'd0;
        wr_sop_3_0<=1'b0;
        wr_sop_3_1<=1'b0;
        wr_sop_3_2<=1'b0;
        wr_sop_3_3<=1'b0;
        wr_sop_3_4<=1'b0;
        wr_sop_3_5<=1'b0;
        wr_sop_3_6<=1'b0;
        wr_sop_3_7<=1'b0;
        wr_sop_3_8<=1'b0;
        wr_sop_3_9<=1'b0;
        wr_sop_3_10<=1'b0;
        wr_sop_3_11<=1'b0;
        wr_sop_3_12<=1'b0;
        wr_sop_3_13<=1'b0;
        wr_sop_3_14<=1'b0;
        wr_sop_3_15<=1'b0;
        wr_eop_3_0<=1'b0;
        wr_eop_3_1<=1'b0;
        wr_eop_3_2<=1'b0;
        wr_eop_3_3<=1'b0;
        wr_eop_3_4<=1'b0;
        wr_eop_3_5<=1'b0;
        wr_eop_3_6<=1'b0;
        wr_eop_3_7<=1'b0;
        wr_eop_3_8<=1'b0;
        wr_eop_3_9<=1'b0;
        wr_eop_3_10<=1'b0;
        wr_eop_3_11<=1'b0;
        wr_eop_3_12<=1'b0;
        wr_eop_3_13<=1'b0;
        wr_eop_3_14<=1'b0;
        wr_eop_3_15<=1'b0;
        wr_data_3_0<=36'd0;
        wr_data_3_1<=36'd0;
        wr_data_3_2<=36'd0;
        wr_data_3_3<=36'd0;
        wr_data_3_4<=36'd0;
        wr_data_3_5<=36'd0;
        wr_data_3_6<=36'd0;
        wr_data_3_7<=36'd0;
        wr_data_3_8<=36'd0;
        wr_data_3_9<=36'd0;
        wr_data_3_10<=36'd0;
        wr_data_3_11<=36'd0;
        wr_data_3_12<=36'd0;
        wr_data_3_13<=36'd0;
        wr_data_3_14<=36'd0;
        wr_data_3_15<=36'd0;
        wr_vld_3_0<=1'b0;
        wr_vld_3_1<=1'b0;
        wr_vld_3_2<=1'b0;
        wr_vld_3_3<=1'b0;
        wr_vld_3_4<=1'b0;
        wr_vld_3_5<=1'b0;
        wr_vld_3_6<=1'b0;
        wr_vld_3_7<=1'b0;
        wr_vld_3_8<=1'b0;
        wr_vld_3_9<=1'b0;
        wr_vld_3_10<=1'b0;
        wr_vld_3_11<=1'b0;
        wr_vld_3_12<=1'b0;
        wr_vld_3_13<=1'b0;
        wr_vld_3_14<=1'b0;
        wr_vld_3_15<=1'b0;                   
        data_status_3_0<=1'b0;
        data_status_3_1<=1'b0;
        data_status_3_2<=1'b0;
        data_status_3_3<=1'b0;
        data_status_3_4<=1'b0;
        data_status_3_5<=1'b0;
        data_status_3_6<=1'b0;
        data_status_3_7<=1'b0;
        data_status_3_8<=1'b0;
        data_status_3_9<=1'b0;
        data_status_3_10<=1'b0;
        data_status_3_11<=1'b0;
        data_status_3_12<=1'b0;
        data_status_3_13<=1'b0;
        data_status_3_14<=1'b0;
        data_status_3_15<=1'b0;
    end
    else if(REQ3_1)begin
        case(de_cc_3.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[3]) begin
                    data_size_3_0<=de_cc_3.DATA_SIZE;
                    data_pri_3_0<=de_cc_3.DATA_PRIO;
                    wr_sop_3_0<=de_cc_3.WR_SOP;
                    wr_eop_3_0<=de_cc_3.WR_EOP;
                    wr_data_3_0<=de_cc_3.WR_DATA;
                    wr_vld_3_0<=de_cc_3.WR_VLD;
                    data_status_3_0<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_0<=de_cc_3.DATA_SIZE;
                    data_pri_3_0<=de_cc_3.DATA_PRIO;
                    wr_sop_3_0<=de_cc_3.WR_SOP;
                    wr_eop_3_0<=de_cc_3.WR_EOP;
                    wr_data_3_0<=de_cc_3.WR_DATA;
                    wr_vld_3_0<=de_cc_3.WR_VLD;
                    data_status_3_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[3]) begin
                    data_size_3_1<=de_cc_3.DATA_SIZE;
                    data_pri_3_1<=de_cc_3.DATA_PRIO;
                    wr_sop_3_1<=de_cc_3.WR_SOP;
                    wr_eop_3_1<=de_cc_3.WR_EOP;
                    wr_data_3_1<=de_cc_3.WR_DATA;
                    wr_vld_3_1<=de_cc_3.WR_VLD;
                    data_status_3_1<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_1<=de_cc_3.DATA_SIZE;
                    data_pri_3_1<=de_cc_3.DATA_PRIO;
                    wr_sop_3_1<=de_cc_3.WR_SOP;
                    wr_eop_3_1<=de_cc_3.WR_EOP;
                    wr_data_3_1<=de_cc_3.WR_DATA;
                    wr_vld_3_1<=de_cc_3.WR_VLD;
                    data_status_3_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[3]) begin
                    data_size_3_2<=de_cc_3.DATA_SIZE;
                    data_pri_3_2<=de_cc_3.DATA_PRIO;
                    wr_sop_3_2<=de_cc_3.WR_SOP;
                    wr_eop_3_2<=de_cc_3.WR_EOP;
                    wr_data_3_2<=de_cc_3.WR_DATA;
                    wr_vld_3_2<=de_cc_3.WR_VLD;
                    data_status_3_2<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_2<=de_cc_3.DATA_SIZE;
                    data_pri_3_2<=de_cc_3.DATA_PRIO;
                    wr_sop_3_2<=de_cc_3.WR_SOP;
                    wr_eop_3_2<=de_cc_3.WR_EOP;
                    wr_data_3_2<=de_cc_3.WR_DATA;
                    wr_vld_3_2<=de_cc_3.WR_VLD;
                    data_status_3_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[3]) begin
                    data_size_3_3<=de_cc_3.DATA_SIZE;
                    data_pri_3_3<=de_cc_3.DATA_PRIO;
                    wr_sop_3_3<=de_cc_3.WR_SOP;
                    wr_eop_3_3<=de_cc_3.WR_EOP;
                    wr_data_3_3<=de_cc_3.WR_DATA;
                    wr_vld_3_3<=de_cc_3.WR_VLD;
                    data_status_3_3<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_3<=de_cc_3.DATA_SIZE;
                    data_pri_3_3<=de_cc_3.DATA_PRIO;
                    wr_sop_3_3<=de_cc_3.WR_SOP;
                    wr_eop_3_3<=de_cc_3.WR_EOP;
                    wr_data_3_3<=de_cc_3.WR_DATA;
                    wr_vld_3_3<=de_cc_3.WR_VLD;
                    data_status_3_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[3]) begin
                    data_size_3_4<=de_cc_3.DATA_SIZE;
                    data_pri_3_4<=de_cc_3.DATA_PRIO;
                    wr_sop_3_4<=de_cc_3.WR_SOP;
                    wr_eop_3_4<=de_cc_3.WR_EOP;
                    wr_data_3_4<=de_cc_3.WR_DATA;
                    wr_vld_3_4<=de_cc_3.WR_VLD;
                    data_status_3_4<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_4<=de_cc_3.DATA_SIZE;
                    data_pri_3_4<=de_cc_3.DATA_PRIO;
                    wr_sop_3_4<=de_cc_3.WR_SOP;
                    wr_eop_3_4<=de_cc_3.WR_EOP;
                    wr_data_3_4<=de_cc_3.WR_DATA;
                    wr_vld_3_4<=de_cc_3.WR_VLD;
                    data_status_3_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[3]) begin
                    data_size_3_5<=de_cc_3.DATA_SIZE;
                    data_pri_3_5<=de_cc_3.DATA_PRIO;
                    wr_sop_3_5<=de_cc_3.WR_SOP;
                    wr_eop_3_5<=de_cc_3.WR_EOP;
                    wr_data_3_5<=de_cc_3.WR_DATA;
                    wr_vld_3_5<=de_cc_3.WR_VLD;
                    data_status_3_5<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_5<=de_cc_3.DATA_SIZE;
                    data_pri_3_5<=de_cc_3.DATA_PRIO;
                    wr_sop_3_5<=de_cc_3.WR_SOP;
                    wr_eop_3_5<=de_cc_3.WR_EOP;
                    wr_data_3_5<=de_cc_3.WR_DATA;
                    wr_vld_3_5<=de_cc_3.WR_VLD;
                    data_status_3_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[3]) begin
                    data_size_3_6<=de_cc_3.DATA_SIZE;
                    data_pri_3_6<=de_cc_3.DATA_PRIO;
                    wr_sop_3_6<=de_cc_3.WR_SOP;
                    wr_eop_3_6<=de_cc_3.WR_EOP;
                    wr_data_3_6<=de_cc_3.WR_DATA;
                    wr_vld_3_6<=de_cc_3.WR_VLD;
                    data_status_3_6<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_6<=de_cc_3.DATA_SIZE;
                    data_pri_3_6<=de_cc_3.DATA_PRIO;
                    wr_sop_3_6<=de_cc_3.WR_SOP;
                    wr_eop_3_6<=de_cc_3.WR_EOP;
                    wr_data_3_6<=de_cc_3.WR_DATA;
                    wr_vld_3_6<=de_cc_3.WR_VLD;
                    data_status_3_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[3]) begin
                    data_size_3_7<=de_cc_3.DATA_SIZE;
                    data_pri_3_7<=de_cc_3.DATA_PRIO;
                    wr_sop_3_7<=de_cc_3.WR_SOP;
                    wr_eop_3_7<=de_cc_3.WR_EOP;
                    wr_data_3_7<=de_cc_3.WR_DATA;
                    wr_vld_3_7<=de_cc_3.WR_VLD;
                    data_status_3_7<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_7<=de_cc_3.DATA_SIZE;
                    data_pri_3_7<=de_cc_3.DATA_PRIO;
                    wr_sop_3_7<=de_cc_3.WR_SOP;
                    wr_eop_3_7<=de_cc_3.WR_EOP;
                    wr_data_3_7<=de_cc_3.WR_DATA;
                    wr_vld_3_7<=de_cc_3.WR_VLD;
                    data_status_3_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[3]) begin
                    data_size_3_8<=de_cc_3.DATA_SIZE;
                    data_pri_3_8<=de_cc_3.DATA_PRIO;
                    wr_sop_3_8<=de_cc_3.WR_SOP;
                    wr_eop_3_8<=de_cc_3.WR_EOP;
                    wr_data_3_8<=de_cc_3.WR_DATA;
                    wr_vld_3_8<=de_cc_3.WR_VLD;
                    data_status_3_8<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_8<=de_cc_3.DATA_SIZE;
                    data_pri_3_8<=de_cc_3.DATA_PRIO;
                    wr_sop_3_8<=de_cc_3.WR_SOP;
                    wr_eop_3_8<=de_cc_3.WR_EOP;
                    wr_data_3_8<=de_cc_3.WR_DATA;
                    wr_vld_3_8<=de_cc_3.WR_VLD;
                    data_status_3_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[3]) begin
                    data_size_3_9<=de_cc_3.DATA_SIZE;
                    data_pri_3_9<=de_cc_3.DATA_PRIO;
                    wr_sop_3_9<=de_cc_3.WR_SOP;
                    wr_eop_3_9<=de_cc_3.WR_EOP;
                    wr_data_3_9<=de_cc_3.WR_DATA;
                    wr_vld_3_9<=de_cc_3.WR_VLD;
                    data_status_3_9<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_9<=de_cc_3.DATA_SIZE;
                    data_pri_3_9<=de_cc_3.DATA_PRIO;
                    wr_sop_3_9<=de_cc_3.WR_SOP;
                    wr_eop_3_9<=de_cc_3.WR_EOP;
                    wr_data_3_9<=de_cc_3.WR_DATA;
                    wr_vld_3_9<=de_cc_3.WR_VLD;
                    data_status_3_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[3]) begin
                    data_size_3_10<=de_cc_3.DATA_SIZE;
                    data_pri_3_10<=de_cc_3.DATA_PRIO;
                    wr_sop_3_10<=de_cc_3.WR_SOP;
                    wr_eop_3_10<=de_cc_3.WR_EOP;
                    wr_data_3_10<=de_cc_3.WR_DATA;
                    wr_vld_3_10<=de_cc_3.WR_VLD;
                    data_status_3_10<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_10<=de_cc_3.DATA_SIZE;
                    data_pri_3_10<=de_cc_3.DATA_PRIO;
                    wr_sop_3_10<=de_cc_3.WR_SOP;
                    wr_eop_3_10<=de_cc_3.WR_EOP;
                    wr_data_3_10<=de_cc_3.WR_DATA;
                    wr_vld_3_10<=de_cc_3.WR_VLD;
                    data_status_3_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[3]) begin
                    data_size_3_11<=de_cc_3.DATA_SIZE;
                    data_pri_3_11<=de_cc_3.DATA_PRIO;
                    wr_sop_3_11<=de_cc_3.WR_SOP;
                    wr_eop_3_11<=de_cc_3.WR_EOP;
                    wr_data_3_11<=de_cc_3.WR_DATA;
                    wr_vld_3_11<=de_cc_3.WR_VLD;
                    data_status_3_11<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_11<=de_cc_3.DATA_SIZE;
                    data_pri_3_11<=de_cc_3.DATA_PRIO;
                    wr_sop_3_11<=de_cc_3.WR_SOP;
                    wr_eop_3_11<=de_cc_3.WR_EOP;
                    wr_data_3_11<=de_cc_3.WR_DATA;
                    wr_vld_3_11<=de_cc_3.WR_VLD;
                    data_status_3_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[3]) begin
                    data_size_3_12<=de_cc_3.DATA_SIZE;
                    data_pri_3_12<=de_cc_3.DATA_PRIO;
                    wr_sop_3_12<=de_cc_3.WR_SOP;
                    wr_eop_3_12<=de_cc_3.WR_EOP;
                    wr_data_3_12<=de_cc_3.WR_DATA;
                    wr_vld_3_12<=de_cc_3.WR_VLD;
                    data_status_3_12<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_12<=de_cc_3.DATA_SIZE;
                    data_pri_3_12<=de_cc_3.DATA_PRIO;
                    wr_sop_3_12<=de_cc_3.WR_SOP;
                    wr_eop_3_12<=de_cc_3.WR_EOP;
                    wr_data_3_12<=de_cc_3.WR_DATA;
                    wr_vld_3_12<=de_cc_3.WR_VLD;
                    data_status_3_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[3]) begin
                    data_size_3_13<=de_cc_3.DATA_SIZE;
                    data_pri_3_13<=de_cc_3.DATA_PRIO;
                    wr_sop_3_13<=de_cc_3.WR_SOP;
                    wr_eop_3_13<=de_cc_3.WR_EOP;
                    wr_data_3_13<=de_cc_3.WR_DATA;
                    wr_vld_3_13<=de_cc_3.WR_VLD;
                    data_status_3_13<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_13<=de_cc_3.DATA_SIZE;
                    data_pri_3_13<=de_cc_3.DATA_PRIO;
                    wr_sop_3_13<=de_cc_3.WR_SOP;
                    wr_eop_3_13<=de_cc_3.WR_EOP;
                    wr_data_3_13<=de_cc_3.WR_DATA;
                    wr_vld_3_13<=de_cc_3.WR_VLD;
                    data_status_3_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[3]) begin
                    data_size_3_14<=de_cc_3.DATA_SIZE;
                    data_pri_3_14<=de_cc_3.DATA_PRIO;
                    wr_sop_3_14<=de_cc_3.WR_SOP;
                    wr_eop_3_14<=de_cc_3.WR_EOP;
                    wr_data_3_14<=de_cc_3.WR_DATA;
                    wr_vld_3_14<=de_cc_3.WR_VLD;
                    data_status_3_14<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_14<=de_cc_3.DATA_SIZE;
                    data_pri_3_14<=de_cc_3.DATA_PRIO;
                    wr_sop_3_14<=de_cc_3.WR_SOP;
                    wr_eop_3_14<=de_cc_3.WR_EOP;
                    wr_data_3_14<=de_cc_3.WR_DATA;
                    wr_vld_3_14<=de_cc_3.WR_VLD;
                    data_status_3_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[3]) begin
                    data_size_3_15<=de_cc_3.DATA_SIZE;
                    data_pri_3_15<=de_cc_3.DATA_PRIO;
                    wr_sop_3_15<=de_cc_3.WR_SOP;
                    wr_eop_3_15<=de_cc_3.WR_EOP;
                    wr_data_3_15<=de_cc_3.WR_DATA;
                    wr_vld_3_15<=de_cc_3.WR_VLD;
                    data_status_3_15<=1'b1;
                end
                else if(huan_cun[3]) begin
                    data_size_3_15<=de_cc_3.DATA_SIZE;
                    data_pri_3_15<=de_cc_3.DATA_PRIO;
                    wr_sop_3_15<=de_cc_3.WR_SOP;
                    wr_eop_3_15<=de_cc_3.WR_EOP;
                    wr_data_3_15<=de_cc_3.WR_DATA;
                    wr_vld_3_15<=de_cc_3.WR_VLD;
                    data_status_3_15<=1'b0;
                end
            end
            default:begin
                data_size_3_0<=11'd0;
                data_size_3_1<=11'd0;
                data_size_3_2<=11'd0;
                data_size_3_3<=11'd0;
                data_size_3_4<=11'd0;
                data_size_3_5<=11'd0;
                data_size_3_6<=11'd0;
                data_size_3_7<=11'd0;
                data_size_3_8<=11'd0;
                data_size_3_9<=11'd0;
                data_size_3_10<=11'd0;
                data_size_3_11<=11'd0;
                data_size_3_12<=11'd0;
                data_size_3_13<=11'd0;
                data_size_3_14<=11'd0;
                data_size_3_15<=11'd0;
                data_pri_3_0<=3'd0;
                data_pri_3_1<=3'd0;
                data_pri_3_2<=3'd0;
                data_pri_3_3<=3'd0;
                data_pri_3_4<=3'd0;
                data_pri_3_5<=3'd0;
                data_pri_3_6<=3'd0;
                data_pri_3_7<=3'd0;
                data_pri_3_8<=3'd0;
                data_pri_3_9<=3'd0;
                data_pri_3_10<=3'd0;
                data_pri_3_11<=3'd0;
                data_pri_3_12<=3'd0;
                data_pri_3_13<=3'd0;
                data_pri_3_14<=3'd0;
                data_pri_3_15<=3'd0;
                wr_sop_3_0<=1'b0;
                wr_sop_3_1<=1'b0;
                wr_sop_3_2<=1'b0;
                wr_sop_3_3<=1'b0;
                wr_sop_3_4<=1'b0;
                wr_sop_3_5<=1'b0;
                wr_sop_3_6<=1'b0;
                wr_sop_3_7<=1'b0;
                wr_sop_3_8<=1'b0;
                wr_sop_3_9<=1'b0;
                wr_sop_3_10<=1'b0;
                wr_sop_3_11<=1'b0;
                wr_sop_3_12<=1'b0;
                wr_sop_3_13<=1'b0;
                wr_sop_3_14<=1'b0;
                wr_sop_3_15<=1'b0;
                wr_eop_3_0<=1'b0;
                wr_eop_3_1<=1'b0;
                wr_eop_3_2<=1'b0;
                wr_eop_3_3<=1'b0;
                wr_eop_3_4<=1'b0;
                wr_eop_3_5<=1'b0;
                wr_eop_3_6<=1'b0;
                wr_eop_3_7<=1'b0;
                wr_eop_3_8<=1'b0;
                wr_eop_3_9<=1'b0;
                wr_eop_3_10<=1'b0;
                wr_eop_3_11<=1'b0;
                wr_eop_3_12<=1'b0;
                wr_eop_3_13<=1'b0;
                wr_eop_3_14<=1'b0;
                wr_eop_3_15<=1'b0;
                wr_data_3_0<=36'd0;
                wr_data_3_1<=36'd0;
                wr_data_3_2<=36'd0;
                wr_data_3_3<=36'd0;
                wr_data_3_4<=36'd0;
                wr_data_3_5<=36'd0;
                wr_data_3_6<=36'd0;
                wr_data_3_7<=36'd0;
                wr_data_3_8<=36'd0;
                wr_data_3_9<=36'd0;
                wr_data_3_10<=36'd0;
                wr_data_3_11<=36'd0;
                wr_data_3_12<=36'd0;
                wr_data_3_13<=36'd0;
                wr_data_3_14<=36'd0;
                wr_data_3_15<=36'd0;
                wr_vld_3_0<=1'b0;
                wr_vld_3_1<=1'b0;
                wr_vld_3_2<=1'b0;
                wr_vld_3_3<=1'b0;
                wr_vld_3_4<=1'b0;
                wr_vld_3_5<=1'b0;
                wr_vld_3_6<=1'b0;
                wr_vld_3_7<=1'b0;
                wr_vld_3_8<=1'b0;
                wr_vld_3_9<=1'b0;
                wr_vld_3_10<=1'b0;
                wr_vld_3_11<=1'b0;
                wr_vld_3_12<=1'b0;
                wr_vld_3_13<=1'b0;
                wr_vld_3_14<=1'b0;
                wr_vld_3_15<=1'b0;                   
                data_status_3_0<=1'b0;
                data_status_3_1<=1'b0;
                data_status_3_2<=1'b0;
                data_status_3_3<=1'b0;
                data_status_3_4<=1'b0;
                data_status_3_5<=1'b0;
                data_status_3_6<=1'b0;
                data_status_3_7<=1'b0;
                data_status_3_8<=1'b0;
                data_status_3_9<=1'b0;
                data_status_3_10<=1'b0;
                data_status_3_11<=1'b0;
                data_status_3_12<=1'b0;
                data_status_3_13<=1'b0;
                data_status_3_14<=1'b0;
                data_status_3_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_4_0<=11'd0;
        data_size_4_1<=11'd0;
        data_size_4_2<=11'd0;
        data_size_4_3<=11'd0;
        data_size_4_4<=11'd0;
        data_size_4_5<=11'd0;
        data_size_4_6<=11'd0;
        data_size_4_7<=11'd0;
        data_size_4_8<=11'd0;
        data_size_4_9<=11'd0;
        data_size_4_10<=11'd0;
        data_size_4_11<=11'd0;
        data_size_4_12<=11'd0;
        data_size_4_13<=11'd0;
        data_size_4_14<=11'd0;
        data_size_4_15<=11'd0;
        data_pri_4_0<=3'd0;
        data_pri_4_1<=3'd0;
        data_pri_4_2<=3'd0;
        data_pri_4_3<=3'd0;
        data_pri_4_4<=3'd0;
        data_pri_4_5<=3'd0;
        data_pri_4_6<=3'd0;
        data_pri_4_7<=3'd0;
        data_pri_4_8<=3'd0;
        data_pri_4_9<=3'd0;
        data_pri_4_10<=3'd0;
        data_pri_4_11<=3'd0;
        data_pri_4_12<=3'd0;
        data_pri_4_13<=3'd0;
        data_pri_4_14<=3'd0;
        data_pri_4_15<=3'd0;
        wr_sop_4_0<=1'b0;
        wr_sop_4_1<=1'b0;
        wr_sop_4_2<=1'b0;
        wr_sop_4_3<=1'b0;
        wr_sop_4_4<=1'b0;
        wr_sop_4_5<=1'b0;
        wr_sop_4_6<=1'b0;
        wr_sop_4_7<=1'b0;
        wr_sop_4_8<=1'b0;
        wr_sop_4_9<=1'b0;
        wr_sop_4_10<=1'b0;
        wr_sop_4_11<=1'b0;
        wr_sop_4_12<=1'b0;
        wr_sop_4_13<=1'b0;
        wr_sop_4_14<=1'b0;
        wr_sop_4_15<=1'b0;
        wr_eop_4_0<=1'b0;
        wr_eop_4_1<=1'b0;
        wr_eop_4_2<=1'b0;
        wr_eop_4_3<=1'b0;
        wr_eop_4_4<=1'b0;
        wr_eop_4_5<=1'b0;
        wr_eop_4_6<=1'b0;
        wr_eop_4_7<=1'b0;
        wr_eop_4_8<=1'b0;
        wr_eop_4_9<=1'b0;
        wr_eop_4_10<=1'b0;
        wr_eop_4_11<=1'b0;
        wr_eop_4_12<=1'b0;
        wr_eop_4_13<=1'b0;
        wr_eop_4_14<=1'b0;
        wr_eop_4_15<=1'b0;
        wr_data_4_0<=36'd0;
        wr_data_4_1<=36'd0;
        wr_data_4_2<=36'd0;
        wr_data_4_3<=36'd0;
        wr_data_4_4<=36'd0;
        wr_data_4_5<=36'd0;
        wr_data_4_6<=36'd0;
        wr_data_4_7<=36'd0;
        wr_data_4_8<=36'd0;
        wr_data_4_9<=36'd0;
        wr_data_4_10<=36'd0;
        wr_data_4_11<=36'd0;
        wr_data_4_12<=36'd0;
        wr_data_4_13<=36'd0;
        wr_data_4_14<=36'd0;
        wr_data_4_15<=36'd0;
        wr_vld_4_0<=1'b0;
        wr_vld_4_1<=1'b0;
        wr_vld_4_2<=1'b0;
        wr_vld_4_3<=1'b0;
        wr_vld_4_4<=1'b0;
        wr_vld_4_5<=1'b0;
        wr_vld_4_6<=1'b0;
        wr_vld_4_7<=1'b0;
        wr_vld_4_8<=1'b0;
        wr_vld_4_9<=1'b0;
        wr_vld_4_10<=1'b0;
        wr_vld_4_11<=1'b0;
        wr_vld_4_12<=1'b0;
        wr_vld_4_13<=1'b0;
        wr_vld_4_14<=1'b0;
        wr_vld_4_15<=1'b0;                   
        data_status_4_0<=1'b0;
        data_status_4_1<=1'b0;
        data_status_4_2<=1'b0;
        data_status_4_3<=1'b0;
        data_status_4_4<=1'b0;
        data_status_4_5<=1'b0;
        data_status_4_6<=1'b0;
        data_status_4_7<=1'b0;
        data_status_4_8<=1'b0;
        data_status_4_9<=1'b0;
        data_status_4_10<=1'b0;
        data_status_4_11<=1'b0;
        data_status_4_12<=1'b0;
        data_status_4_13<=1'b0;
        data_status_4_14<=1'b0;
        data_status_4_15<=1'b0;
    end
    else if(REQ4_1)begin
        case(de_cc_4.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[4]) begin
                    data_size_4_0<=de_cc_4.DATA_SIZE;
                    data_pri_4_0<=de_cc_4.DATA_PRIO;
                    wr_sop_4_0<=de_cc_4.WR_SOP;
                    wr_eop_4_0<=de_cc_4.WR_EOP;
                    wr_data_4_0<=de_cc_4.WR_DATA;
                    wr_vld_4_0<=de_cc_4.WR_VLD;
                    data_status_4_0<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_0<=de_cc_4.DATA_SIZE;
                    data_pri_4_0<=de_cc_4.DATA_PRIO;
                    wr_sop_4_0<=de_cc_4.WR_SOP;
                    wr_eop_4_0<=de_cc_4.WR_EOP;
                    wr_data_4_0<=de_cc_4.WR_DATA;
                    wr_vld_4_0<=de_cc_4.WR_VLD;
                    data_status_4_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[4]) begin
                    data_size_4_1<=de_cc_4.DATA_SIZE;
                    data_pri_4_1<=de_cc_4.DATA_PRIO;
                    wr_sop_4_1<=de_cc_4.WR_SOP;
                    wr_eop_4_1<=de_cc_4.WR_EOP;
                    wr_data_4_1<=de_cc_4.WR_DATA;
                    wr_vld_4_1<=de_cc_4.WR_VLD;
                    data_status_4_1<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_1<=de_cc_4.DATA_SIZE;
                    data_pri_4_1<=de_cc_4.DATA_PRIO;
                    wr_sop_4_1<=de_cc_4.WR_SOP;
                    wr_eop_4_1<=de_cc_4.WR_EOP;
                    wr_data_4_1<=de_cc_4.WR_DATA;
                    wr_vld_4_1<=de_cc_4.WR_VLD;
                    data_status_4_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[4]) begin
                    data_size_4_2<=de_cc_4.DATA_SIZE;
                    data_pri_4_2<=de_cc_4.DATA_PRIO;
                    wr_sop_4_2<=de_cc_4.WR_SOP;
                    wr_eop_4_2<=de_cc_4.WR_EOP;
                    wr_data_4_2<=de_cc_4.WR_DATA;
                    wr_vld_4_2<=de_cc_4.WR_VLD;
                    data_status_4_2<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_2<=de_cc_4.DATA_SIZE;
                    data_pri_4_2<=de_cc_4.DATA_PRIO;
                    wr_sop_4_2<=de_cc_4.WR_SOP;
                    wr_eop_4_2<=de_cc_4.WR_EOP;
                    wr_data_4_2<=de_cc_4.WR_DATA;
                    wr_vld_4_2<=de_cc_4.WR_VLD;
                    data_status_4_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[4]) begin
                    data_size_4_3<=de_cc_4.DATA_SIZE;
                    data_pri_4_3<=de_cc_4.DATA_PRIO;
                    wr_sop_4_3<=de_cc_4.WR_SOP;
                    wr_eop_4_3<=de_cc_4.WR_EOP;
                    wr_data_4_3<=de_cc_4.WR_DATA;
                    wr_vld_4_3<=de_cc_4.WR_VLD;
                    data_status_4_3<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_3<=de_cc_4.DATA_SIZE;
                    data_pri_4_3<=de_cc_4.DATA_PRIO;
                    wr_sop_4_3<=de_cc_4.WR_SOP;
                    wr_eop_4_3<=de_cc_4.WR_EOP;
                    wr_data_4_3<=de_cc_4.WR_DATA;
                    wr_vld_4_3<=de_cc_4.WR_VLD;
                    data_status_4_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[4]) begin
                    data_size_4_4<=de_cc_4.DATA_SIZE;
                    data_pri_4_4<=de_cc_4.DATA_PRIO;
                    wr_sop_4_4<=de_cc_4.WR_SOP;
                    wr_eop_4_4<=de_cc_4.WR_EOP;
                    wr_data_4_4<=de_cc_4.WR_DATA;
                    wr_vld_4_4<=de_cc_4.WR_VLD;
                    data_status_4_4<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_4<=de_cc_4.DATA_SIZE;
                    data_pri_4_4<=de_cc_4.DATA_PRIO;
                    wr_sop_4_4<=de_cc_4.WR_SOP;
                    wr_eop_4_4<=de_cc_4.WR_EOP;
                    wr_data_4_4<=de_cc_4.WR_DATA;
                    wr_vld_4_4<=de_cc_4.WR_VLD;
                    data_status_4_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[4]) begin
                    data_size_4_5<=de_cc_4.DATA_SIZE;
                    data_pri_4_5<=de_cc_4.DATA_PRIO;
                    wr_sop_4_5<=de_cc_4.WR_SOP;
                    wr_eop_4_5<=de_cc_4.WR_EOP;
                    wr_data_4_5<=de_cc_4.WR_DATA;
                    wr_vld_4_5<=de_cc_4.WR_VLD;
                    data_status_4_5<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_5<=de_cc_4.DATA_SIZE;
                    data_pri_4_5<=de_cc_4.DATA_PRIO;
                    wr_sop_4_5<=de_cc_4.WR_SOP;
                    wr_eop_4_5<=de_cc_4.WR_EOP;
                    wr_data_4_5<=de_cc_4.WR_DATA;
                    wr_vld_4_5<=de_cc_4.WR_VLD;
                    data_status_4_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[4]) begin
                    data_size_4_6<=de_cc_4.DATA_SIZE;
                    data_pri_4_6<=de_cc_4.DATA_PRIO;
                    wr_sop_4_6<=de_cc_4.WR_SOP;
                    wr_eop_4_6<=de_cc_4.WR_EOP;
                    wr_data_4_6<=de_cc_4.WR_DATA;
                    wr_vld_4_6<=de_cc_4.WR_VLD;
                    data_status_4_6<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_6<=de_cc_4.DATA_SIZE;
                    data_pri_4_6<=de_cc_4.DATA_PRIO;
                    wr_sop_4_6<=de_cc_4.WR_SOP;
                    wr_eop_4_6<=de_cc_4.WR_EOP;
                    wr_data_4_6<=de_cc_4.WR_DATA;
                    wr_vld_4_6<=de_cc_4.WR_VLD;
                    data_status_4_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[4]) begin
                    data_size_4_7<=de_cc_4.DATA_SIZE;
                    data_pri_4_7<=de_cc_4.DATA_PRIO;
                    wr_sop_4_7<=de_cc_4.WR_SOP;
                    wr_eop_4_7<=de_cc_4.WR_EOP;
                    wr_data_4_7<=de_cc_4.WR_DATA;
                    wr_vld_4_7<=de_cc_4.WR_VLD;
                    data_status_4_7<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_7<=de_cc_4.DATA_SIZE;
                    data_pri_4_7<=de_cc_4.DATA_PRIO;
                    wr_sop_4_7<=de_cc_4.WR_SOP;
                    wr_eop_4_7<=de_cc_4.WR_EOP;
                    wr_data_4_7<=de_cc_4.WR_DATA;
                    wr_vld_4_7<=de_cc_4.WR_VLD;
                    data_status_4_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[4]) begin
                    data_size_4_8<=de_cc_4.DATA_SIZE;
                    data_pri_4_8<=de_cc_4.DATA_PRIO;
                    wr_sop_4_8<=de_cc_4.WR_SOP;
                    wr_eop_4_8<=de_cc_4.WR_EOP;
                    wr_data_4_8<=de_cc_4.WR_DATA;
                    wr_vld_4_8<=de_cc_4.WR_VLD;
                    data_status_4_8<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_8<=de_cc_4.DATA_SIZE;
                    data_pri_4_8<=de_cc_4.DATA_PRIO;
                    wr_sop_4_8<=de_cc_4.WR_SOP;
                    wr_eop_4_8<=de_cc_4.WR_EOP;
                    wr_data_4_8<=de_cc_4.WR_DATA;
                    wr_vld_4_8<=de_cc_4.WR_VLD;
                    data_status_4_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[4]) begin
                    data_size_4_9<=de_cc_4.DATA_SIZE;
                    data_pri_4_9<=de_cc_4.DATA_PRIO;
                    wr_sop_4_9<=de_cc_4.WR_SOP;
                    wr_eop_4_9<=de_cc_4.WR_EOP;
                    wr_data_4_9<=de_cc_4.WR_DATA;
                    wr_vld_4_9<=de_cc_4.WR_VLD;
                    data_status_4_9<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_9<=de_cc_4.DATA_SIZE;
                    data_pri_4_9<=de_cc_4.DATA_PRIO;
                    wr_sop_4_9<=de_cc_4.WR_SOP;
                    wr_eop_4_9<=de_cc_4.WR_EOP;
                    wr_data_4_9<=de_cc_4.WR_DATA;
                    wr_vld_4_9<=de_cc_4.WR_VLD;
                    data_status_4_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[4]) begin
                    data_size_4_10<=de_cc_4.DATA_SIZE;
                    data_pri_4_10<=de_cc_4.DATA_PRIO;
                    wr_sop_4_10<=de_cc_4.WR_SOP;
                    wr_eop_4_10<=de_cc_4.WR_EOP;
                    wr_data_4_10<=de_cc_4.WR_DATA;
                    wr_vld_4_10<=de_cc_4.WR_VLD;
                    data_status_4_10<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_10<=de_cc_4.DATA_SIZE;
                    data_pri_4_10<=de_cc_4.DATA_PRIO;
                    wr_sop_4_10<=de_cc_4.WR_SOP;
                    wr_eop_4_10<=de_cc_4.WR_EOP;
                    wr_data_4_10<=de_cc_4.WR_DATA;
                    wr_vld_4_10<=de_cc_4.WR_VLD;
                    data_status_4_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[4]) begin
                    data_size_4_11<=de_cc_4.DATA_SIZE;
                    data_pri_4_11<=de_cc_4.DATA_PRIO;
                    wr_sop_4_11<=de_cc_4.WR_SOP;
                    wr_eop_4_11<=de_cc_4.WR_EOP;
                    wr_data_4_11<=de_cc_4.WR_DATA;
                    wr_vld_4_11<=de_cc_4.WR_VLD;
                    data_status_4_11<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_11<=de_cc_4.DATA_SIZE;
                    data_pri_4_11<=de_cc_4.DATA_PRIO;
                    wr_sop_4_11<=de_cc_4.WR_SOP;
                    wr_eop_4_11<=de_cc_4.WR_EOP;
                    wr_data_4_11<=de_cc_4.WR_DATA;
                    wr_vld_4_11<=de_cc_4.WR_VLD;
                    data_status_4_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[4]) begin
                    data_size_4_12<=de_cc_4.DATA_SIZE;
                    data_pri_4_12<=de_cc_4.DATA_PRIO;
                    wr_sop_4_12<=de_cc_4.WR_SOP;
                    wr_eop_4_12<=de_cc_4.WR_EOP;
                    wr_data_4_12<=de_cc_4.WR_DATA;
                    wr_vld_4_12<=de_cc_4.WR_VLD;
                    data_status_4_12<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_12<=de_cc_4.DATA_SIZE;
                    data_pri_4_12<=de_cc_4.DATA_PRIO;
                    wr_sop_4_12<=de_cc_4.WR_SOP;
                    wr_eop_4_12<=de_cc_4.WR_EOP;
                    wr_data_4_12<=de_cc_4.WR_DATA;
                    wr_vld_4_12<=de_cc_4.WR_VLD;
                    data_status_4_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[4]) begin
                    data_size_4_13<=de_cc_4.DATA_SIZE;
                    data_pri_4_13<=de_cc_4.DATA_PRIO;
                    wr_sop_4_13<=de_cc_4.WR_SOP;
                    wr_eop_4_13<=de_cc_4.WR_EOP;
                    wr_data_4_13<=de_cc_4.WR_DATA;
                    wr_vld_4_13<=de_cc_4.WR_VLD;
                    data_status_4_13<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_13<=de_cc_4.DATA_SIZE;
                    data_pri_4_13<=de_cc_4.DATA_PRIO;
                    wr_sop_4_13<=de_cc_4.WR_SOP;
                    wr_eop_4_13<=de_cc_4.WR_EOP;
                    wr_data_4_13<=de_cc_4.WR_DATA;
                    wr_vld_4_13<=de_cc_4.WR_VLD;
                    data_status_4_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[4]) begin
                    data_size_4_14<=de_cc_4.DATA_SIZE;
                    data_pri_4_14<=de_cc_4.DATA_PRIO;
                    wr_sop_4_14<=de_cc_4.WR_SOP;
                    wr_eop_4_14<=de_cc_4.WR_EOP;
                    wr_data_4_14<=de_cc_4.WR_DATA;
                    wr_vld_4_14<=de_cc_4.WR_VLD;
                    data_status_4_14<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_14<=de_cc_4.DATA_SIZE;
                    data_pri_4_14<=de_cc_4.DATA_PRIO;
                    wr_sop_4_14<=de_cc_4.WR_SOP;
                    wr_eop_4_14<=de_cc_4.WR_EOP;
                    wr_data_4_14<=de_cc_4.WR_DATA;
                    wr_vld_4_14<=de_cc_4.WR_VLD;
                    data_status_4_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[4]) begin
                    data_size_4_15<=de_cc_4.DATA_SIZE;
                    data_pri_4_15<=de_cc_4.DATA_PRIO;
                    wr_sop_4_15<=de_cc_4.WR_SOP;
                    wr_eop_4_15<=de_cc_4.WR_EOP;
                    wr_data_4_15<=de_cc_4.WR_DATA;
                    wr_vld_4_15<=de_cc_4.WR_VLD;
                    data_status_4_15<=1'b1;
                end
                else if(huan_cun[4]) begin
                    data_size_4_15<=de_cc_4.DATA_SIZE;
                    data_pri_4_15<=de_cc_4.DATA_PRIO;
                    wr_sop_4_15<=de_cc_4.WR_SOP;
                    wr_eop_4_15<=de_cc_4.WR_EOP;
                    wr_data_4_15<=de_cc_4.WR_DATA;
                    wr_vld_4_15<=de_cc_4.WR_VLD;
                    data_status_4_15<=1'b0;
                end
            end
            default:begin
                data_size_4_0<=11'd0;
                data_size_4_1<=11'd0;
                data_size_4_2<=11'd0;
                data_size_4_3<=11'd0;
                data_size_4_4<=11'd0;
                data_size_4_5<=11'd0;
                data_size_4_6<=11'd0;
                data_size_4_7<=11'd0;
                data_size_4_8<=11'd0;
                data_size_4_9<=11'd0;
                data_size_4_10<=11'd0;
                data_size_4_11<=11'd0;
                data_size_4_12<=11'd0;
                data_size_4_13<=11'd0;
                data_size_4_14<=11'd0;
                data_size_4_15<=11'd0;
                data_pri_4_0<=3'd0;
                data_pri_4_1<=3'd0;
                data_pri_4_2<=3'd0;
                data_pri_4_3<=3'd0;
                data_pri_4_4<=3'd0;
                data_pri_4_5<=3'd0;
                data_pri_4_6<=3'd0;
                data_pri_4_7<=3'd0;
                data_pri_4_8<=3'd0;
                data_pri_4_9<=3'd0;
                data_pri_4_10<=3'd0;
                data_pri_4_11<=3'd0;
                data_pri_4_12<=3'd0;
                data_pri_4_13<=3'd0;
                data_pri_4_14<=3'd0;
                data_pri_4_15<=3'd0;
                wr_sop_4_0<=1'b0;
                wr_sop_4_1<=1'b0;
                wr_sop_4_2<=1'b0;
                wr_sop_4_3<=1'b0;
                wr_sop_4_4<=1'b0;
                wr_sop_4_5<=1'b0;
                wr_sop_4_6<=1'b0;
                wr_sop_4_7<=1'b0;
                wr_sop_4_8<=1'b0;
                wr_sop_4_9<=1'b0;
                wr_sop_4_10<=1'b0;
                wr_sop_4_11<=1'b0;
                wr_sop_4_12<=1'b0;
                wr_sop_4_13<=1'b0;
                wr_sop_4_14<=1'b0;
                wr_sop_4_15<=1'b0;
                wr_eop_4_0<=1'b0;
                wr_eop_4_1<=1'b0;
                wr_eop_4_2<=1'b0;
                wr_eop_4_3<=1'b0;
                wr_eop_4_4<=1'b0;
                wr_eop_4_5<=1'b0;
                wr_eop_4_6<=1'b0;
                wr_eop_4_7<=1'b0;
                wr_eop_4_8<=1'b0;
                wr_eop_4_9<=1'b0;
                wr_eop_4_10<=1'b0;
                wr_eop_4_11<=1'b0;
                wr_eop_4_12<=1'b0;
                wr_eop_4_13<=1'b0;
                wr_eop_4_14<=1'b0;
                wr_eop_4_15<=1'b0;
                wr_data_4_0<=36'd0;
                wr_data_4_1<=36'd0;
                wr_data_4_2<=36'd0;
                wr_data_4_3<=36'd0;
                wr_data_4_4<=36'd0;
                wr_data_4_5<=36'd0;
                wr_data_4_6<=36'd0;
                wr_data_4_7<=36'd0;
                wr_data_4_8<=36'd0;
                wr_data_4_9<=36'd0;
                wr_data_4_10<=36'd0;
                wr_data_4_11<=36'd0;
                wr_data_4_12<=36'd0;
                wr_data_4_13<=36'd0;
                wr_data_4_14<=36'd0;
                wr_data_4_15<=36'd0;
                wr_vld_4_0<=1'b0;
                wr_vld_4_1<=1'b0;
                wr_vld_4_2<=1'b0;
                wr_vld_4_3<=1'b0;
                wr_vld_4_4<=1'b0;
                wr_vld_4_5<=1'b0;
                wr_vld_4_6<=1'b0;
                wr_vld_4_7<=1'b0;
                wr_vld_4_8<=1'b0;
                wr_vld_4_9<=1'b0;
                wr_vld_4_10<=1'b0;
                wr_vld_4_11<=1'b0;
                wr_vld_4_12<=1'b0;
                wr_vld_4_13<=1'b0;
                wr_vld_4_14<=1'b0;
                wr_vld_4_15<=1'b0;                   
                data_status_4_0<=1'b0;
                data_status_4_1<=1'b0;
                data_status_4_2<=1'b0;
                data_status_4_3<=1'b0;
                data_status_4_4<=1'b0;
                data_status_4_5<=1'b0;
                data_status_4_6<=1'b0;
                data_status_4_7<=1'b0;
                data_status_4_8<=1'b0;
                data_status_4_9<=1'b0;
                data_status_4_10<=1'b0;
                data_status_4_11<=1'b0;
                data_status_4_12<=1'b0;
                data_status_4_13<=1'b0;
                data_status_4_14<=1'b0;
                data_status_4_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_5_0<=11'd0;
        data_size_5_1<=11'd0;
        data_size_5_2<=11'd0;
        data_size_5_3<=11'd0;
        data_size_5_4<=11'd0;
        data_size_5_5<=11'd0;
        data_size_5_6<=11'd0;
        data_size_5_7<=11'd0;
        data_size_5_8<=11'd0;
        data_size_5_9<=11'd0;
        data_size_5_10<=11'd0;
        data_size_5_11<=11'd0;
        data_size_5_12<=11'd0;
        data_size_5_13<=11'd0;
        data_size_5_14<=11'd0;
        data_size_5_15<=11'd0;
        data_pri_5_0<=3'd0;
        data_pri_5_1<=3'd0;
        data_pri_5_2<=3'd0;
        data_pri_5_3<=3'd0;
        data_pri_5_4<=3'd0;
        data_pri_5_5<=3'd0;
        data_pri_5_6<=3'd0;
        data_pri_5_7<=3'd0;
        data_pri_5_8<=3'd0;
        data_pri_5_9<=3'd0;
        data_pri_5_10<=3'd0;
        data_pri_5_11<=3'd0;
        data_pri_5_12<=3'd0;
        data_pri_5_13<=3'd0;
        data_pri_5_14<=3'd0;
        data_pri_5_15<=3'd0;
        wr_sop_5_0<=1'b0;
        wr_sop_5_1<=1'b0;
        wr_sop_5_2<=1'b0;
        wr_sop_5_3<=1'b0;
        wr_sop_5_4<=1'b0;
        wr_sop_5_5<=1'b0;
        wr_sop_5_6<=1'b0;
        wr_sop_5_7<=1'b0;
        wr_sop_5_8<=1'b0;
        wr_sop_5_9<=1'b0;
        wr_sop_5_10<=1'b0;
        wr_sop_5_11<=1'b0;
        wr_sop_5_12<=1'b0;
        wr_sop_5_13<=1'b0;
        wr_sop_5_14<=1'b0;
        wr_sop_5_15<=1'b0;
        wr_eop_5_0<=1'b0;
        wr_eop_5_1<=1'b0;
        wr_eop_5_2<=1'b0;
        wr_eop_5_3<=1'b0;
        wr_eop_5_4<=1'b0;
        wr_eop_5_5<=1'b0;
        wr_eop_5_6<=1'b0;
        wr_eop_5_7<=1'b0;
        wr_eop_5_8<=1'b0;
        wr_eop_5_9<=1'b0;
        wr_eop_5_10<=1'b0;
        wr_eop_5_11<=1'b0;
        wr_eop_5_12<=1'b0;
        wr_eop_5_13<=1'b0;
        wr_eop_5_14<=1'b0;
        wr_eop_5_15<=1'b0;
        wr_data_5_0<=36'd0;
        wr_data_5_1<=36'd0;
        wr_data_5_2<=36'd0;
        wr_data_5_3<=36'd0;
        wr_data_5_4<=36'd0;
        wr_data_5_5<=36'd0;
        wr_data_5_6<=36'd0;
        wr_data_5_7<=36'd0;
        wr_data_5_8<=36'd0;
        wr_data_5_9<=36'd0;
        wr_data_5_10<=36'd0;
        wr_data_5_11<=36'd0;
        wr_data_5_12<=36'd0;
        wr_data_5_13<=36'd0;
        wr_data_5_14<=36'd0;
        wr_data_5_15<=36'd0;
        wr_vld_5_0<=1'b0;
        wr_vld_5_1<=1'b0;
        wr_vld_5_2<=1'b0;
        wr_vld_5_3<=1'b0;
        wr_vld_5_4<=1'b0;
        wr_vld_5_5<=1'b0;
        wr_vld_5_6<=1'b0;
        wr_vld_5_7<=1'b0;
        wr_vld_5_8<=1'b0;
        wr_vld_5_9<=1'b0;
        wr_vld_5_10<=1'b0;
        wr_vld_5_11<=1'b0;
        wr_vld_5_12<=1'b0;
        wr_vld_5_13<=1'b0;
        wr_vld_5_14<=1'b0;
        wr_vld_5_15<=1'b0;                   
        data_status_5_0<=1'b0;
        data_status_5_1<=1'b0;
        data_status_5_2<=1'b0;
        data_status_5_3<=1'b0;
        data_status_5_4<=1'b0;
        data_status_5_5<=1'b0;
        data_status_5_6<=1'b0;
        data_status_5_7<=1'b0;
        data_status_5_8<=1'b0;
        data_status_5_9<=1'b0;
        data_status_5_10<=1'b0;
        data_status_5_11<=1'b0;
        data_status_5_12<=1'b0;
        data_status_5_13<=1'b0;
        data_status_5_14<=1'b0;
        data_status_5_15<=1'b0;
    end
    else if(REQ5_1)begin
        case(de_cc_5.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[5]) begin
                    data_size_5_0<=de_cc_5.DATA_SIZE;
                    data_pri_5_0<=de_cc_5.DATA_PRIO;
                    wr_sop_5_0<=de_cc_5.WR_SOP;
                    wr_eop_5_0<=de_cc_5.WR_EOP;
                    wr_data_5_0<=de_cc_5.WR_DATA;
                    wr_vld_5_0<=de_cc_5.WR_VLD;
                    data_status_5_0<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_0<=de_cc_5.DATA_SIZE;
                    data_pri_5_0<=de_cc_5.DATA_PRIO;
                    wr_sop_5_0<=de_cc_5.WR_SOP;
                    wr_eop_5_0<=de_cc_5.WR_EOP;
                    wr_data_5_0<=de_cc_5.WR_DATA;
                    wr_vld_5_0<=de_cc_5.WR_VLD;
                    data_status_5_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[5]) begin
                    data_size_5_1<=de_cc_5.DATA_SIZE;
                    data_pri_5_1<=de_cc_5.DATA_PRIO;
                    wr_sop_5_1<=de_cc_5.WR_SOP;
                    wr_eop_5_1<=de_cc_5.WR_EOP;
                    wr_data_5_1<=de_cc_5.WR_DATA;
                    wr_vld_5_1<=de_cc_5.WR_VLD;
                    data_status_5_1<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_1<=de_cc_5.DATA_SIZE;
                    data_pri_5_1<=de_cc_5.DATA_PRIO;
                    wr_sop_5_1<=de_cc_5.WR_SOP;
                    wr_eop_5_1<=de_cc_5.WR_EOP;
                    wr_data_5_1<=de_cc_5.WR_DATA;
                    wr_vld_5_1<=de_cc_5.WR_VLD;
                    data_status_5_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[5]) begin
                    data_size_5_2<=de_cc_5.DATA_SIZE;
                    data_pri_5_2<=de_cc_5.DATA_PRIO;
                    wr_sop_5_2<=de_cc_5.WR_SOP;
                    wr_eop_5_2<=de_cc_5.WR_EOP;
                    wr_data_5_2<=de_cc_5.WR_DATA;
                    wr_vld_5_2<=de_cc_5.WR_VLD;
                    data_status_5_2<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_2<=de_cc_5.DATA_SIZE;
                    data_pri_5_2<=de_cc_5.DATA_PRIO;
                    wr_sop_5_2<=de_cc_5.WR_SOP;
                    wr_eop_5_2<=de_cc_5.WR_EOP;
                    wr_data_5_2<=de_cc_5.WR_DATA;
                    wr_vld_5_2<=de_cc_5.WR_VLD;
                    data_status_5_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[5]) begin
                    data_size_5_3<=de_cc_5.DATA_SIZE;
                    data_pri_5_3<=de_cc_5.DATA_PRIO;
                    wr_sop_5_3<=de_cc_5.WR_SOP;
                    wr_eop_5_3<=de_cc_5.WR_EOP;
                    wr_data_5_3<=de_cc_5.WR_DATA;
                    wr_vld_5_3<=de_cc_5.WR_VLD;
                    data_status_5_3<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_3<=de_cc_5.DATA_SIZE;
                    data_pri_5_3<=de_cc_5.DATA_PRIO;
                    wr_sop_5_3<=de_cc_5.WR_SOP;
                    wr_eop_5_3<=de_cc_5.WR_EOP;
                    wr_data_5_3<=de_cc_5.WR_DATA;
                    wr_vld_5_3<=de_cc_5.WR_VLD;
                    data_status_5_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[5]) begin
                    data_size_5_4<=de_cc_5.DATA_SIZE;
                    data_pri_5_4<=de_cc_5.DATA_PRIO;
                    wr_sop_5_4<=de_cc_5.WR_SOP;
                    wr_eop_5_4<=de_cc_5.WR_EOP;
                    wr_data_5_4<=de_cc_5.WR_DATA;
                    wr_vld_5_4<=de_cc_5.WR_VLD;
                    data_status_5_4<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_4<=de_cc_5.DATA_SIZE;
                    data_pri_5_4<=de_cc_5.DATA_PRIO;
                    wr_sop_5_4<=de_cc_5.WR_SOP;
                    wr_eop_5_4<=de_cc_5.WR_EOP;
                    wr_data_5_4<=de_cc_5.WR_DATA;
                    wr_vld_5_4<=de_cc_5.WR_VLD;
                    data_status_5_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[5]) begin
                    data_size_5_5<=de_cc_5.DATA_SIZE;
                    data_pri_5_5<=de_cc_5.DATA_PRIO;
                    wr_sop_5_5<=de_cc_5.WR_SOP;
                    wr_eop_5_5<=de_cc_5.WR_EOP;
                    wr_data_5_5<=de_cc_5.WR_DATA;
                    wr_vld_5_5<=de_cc_5.WR_VLD;
                    data_status_5_5<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_5<=de_cc_5.DATA_SIZE;
                    data_pri_5_5<=de_cc_5.DATA_PRIO;
                    wr_sop_5_5<=de_cc_5.WR_SOP;
                    wr_eop_5_5<=de_cc_5.WR_EOP;
                    wr_data_5_5<=de_cc_5.WR_DATA;
                    wr_vld_5_5<=de_cc_5.WR_VLD;
                    data_status_5_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[5]) begin
                    data_size_5_6<=de_cc_5.DATA_SIZE;
                    data_pri_5_6<=de_cc_5.DATA_PRIO;
                    wr_sop_5_6<=de_cc_5.WR_SOP;
                    wr_eop_5_6<=de_cc_5.WR_EOP;
                    wr_data_5_6<=de_cc_5.WR_DATA;
                    wr_vld_5_6<=de_cc_5.WR_VLD;
                    data_status_5_6<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_6<=de_cc_5.DATA_SIZE;
                    data_pri_5_6<=de_cc_5.DATA_PRIO;
                    wr_sop_5_6<=de_cc_5.WR_SOP;
                    wr_eop_5_6<=de_cc_5.WR_EOP;
                    wr_data_5_6<=de_cc_5.WR_DATA;
                    wr_vld_5_6<=de_cc_5.WR_VLD;
                    data_status_5_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[5]) begin
                    data_size_5_7<=de_cc_5.DATA_SIZE;
                    data_pri_5_7<=de_cc_5.DATA_PRIO;
                    wr_sop_5_7<=de_cc_5.WR_SOP;
                    wr_eop_5_7<=de_cc_5.WR_EOP;
                    wr_data_5_7<=de_cc_5.WR_DATA;
                    wr_vld_5_7<=de_cc_5.WR_VLD;
                    data_status_5_7<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_7<=de_cc_5.DATA_SIZE;
                    data_pri_5_7<=de_cc_5.DATA_PRIO;
                    wr_sop_5_7<=de_cc_5.WR_SOP;
                    wr_eop_5_7<=de_cc_5.WR_EOP;
                    wr_data_5_7<=de_cc_5.WR_DATA;
                    wr_vld_5_7<=de_cc_5.WR_VLD;
                    data_status_5_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[5]) begin
                    data_size_5_8<=de_cc_5.DATA_SIZE;
                    data_pri_5_8<=de_cc_5.DATA_PRIO;
                    wr_sop_5_8<=de_cc_5.WR_SOP;
                    wr_eop_5_8<=de_cc_5.WR_EOP;
                    wr_data_5_8<=de_cc_5.WR_DATA;
                    wr_vld_5_8<=de_cc_5.WR_VLD;
                    data_status_5_8<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_8<=de_cc_5.DATA_SIZE;
                    data_pri_5_8<=de_cc_5.DATA_PRIO;
                    wr_sop_5_8<=de_cc_5.WR_SOP;
                    wr_eop_5_8<=de_cc_5.WR_EOP;
                    wr_data_5_8<=de_cc_5.WR_DATA;
                    wr_vld_5_8<=de_cc_5.WR_VLD;
                    data_status_5_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[5]) begin
                    data_size_5_9<=de_cc_5.DATA_SIZE;
                    data_pri_5_9<=de_cc_5.DATA_PRIO;
                    wr_sop_5_9<=de_cc_5.WR_SOP;
                    wr_eop_5_9<=de_cc_5.WR_EOP;
                    wr_data_5_9<=de_cc_5.WR_DATA;
                    wr_vld_5_9<=de_cc_5.WR_VLD;
                    data_status_5_9<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_9<=de_cc_5.DATA_SIZE;
                    data_pri_5_9<=de_cc_5.DATA_PRIO;
                    wr_sop_5_9<=de_cc_5.WR_SOP;
                    wr_eop_5_9<=de_cc_5.WR_EOP;
                    wr_data_5_9<=de_cc_5.WR_DATA;
                    wr_vld_5_9<=de_cc_5.WR_VLD;
                    data_status_5_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[5]) begin
                    data_size_5_10<=de_cc_5.DATA_SIZE;
                    data_pri_5_10<=de_cc_5.DATA_PRIO;
                    wr_sop_5_10<=de_cc_5.WR_SOP;
                    wr_eop_5_10<=de_cc_5.WR_EOP;
                    wr_data_5_10<=de_cc_5.WR_DATA;
                    wr_vld_5_10<=de_cc_5.WR_VLD;
                    data_status_5_10<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_10<=de_cc_5.DATA_SIZE;
                    data_pri_5_10<=de_cc_5.DATA_PRIO;
                    wr_sop_5_10<=de_cc_5.WR_SOP;
                    wr_eop_5_10<=de_cc_5.WR_EOP;
                    wr_data_5_10<=de_cc_5.WR_DATA;
                    wr_vld_5_10<=de_cc_5.WR_VLD;
                    data_status_5_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[5]) begin
                    data_size_5_11<=de_cc_5.DATA_SIZE;
                    data_pri_5_11<=de_cc_5.DATA_PRIO;
                    wr_sop_5_11<=de_cc_5.WR_SOP;
                    wr_eop_5_11<=de_cc_5.WR_EOP;
                    wr_data_5_11<=de_cc_5.WR_DATA;
                    wr_vld_5_11<=de_cc_5.WR_VLD;
                    data_status_5_11<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_11<=de_cc_5.DATA_SIZE;
                    data_pri_5_11<=de_cc_5.DATA_PRIO;
                    wr_sop_5_11<=de_cc_5.WR_SOP;
                    wr_eop_5_11<=de_cc_5.WR_EOP;
                    wr_data_5_11<=de_cc_5.WR_DATA;
                    wr_vld_5_11<=de_cc_5.WR_VLD;
                    data_status_5_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[5]) begin
                    data_size_5_12<=de_cc_5.DATA_SIZE;
                    data_pri_5_12<=de_cc_5.DATA_PRIO;
                    wr_sop_5_12<=de_cc_5.WR_SOP;
                    wr_eop_5_12<=de_cc_5.WR_EOP;
                    wr_data_5_12<=de_cc_5.WR_DATA;
                    wr_vld_5_12<=de_cc_5.WR_VLD;
                    data_status_5_12<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_12<=de_cc_5.DATA_SIZE;
                    data_pri_5_12<=de_cc_5.DATA_PRIO;
                    wr_sop_5_12<=de_cc_5.WR_SOP;
                    wr_eop_5_12<=de_cc_5.WR_EOP;
                    wr_data_5_12<=de_cc_5.WR_DATA;
                    wr_vld_5_12<=de_cc_5.WR_VLD;
                    data_status_5_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[5]) begin
                    data_size_5_13<=de_cc_5.DATA_SIZE;
                    data_pri_5_13<=de_cc_5.DATA_PRIO;
                    wr_sop_5_13<=de_cc_5.WR_SOP;
                    wr_eop_5_13<=de_cc_5.WR_EOP;
                    wr_data_5_13<=de_cc_5.WR_DATA;
                    wr_vld_5_13<=de_cc_5.WR_VLD;
                    data_status_5_13<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_13<=de_cc_5.DATA_SIZE;
                    data_pri_5_13<=de_cc_5.DATA_PRIO;
                    wr_sop_5_13<=de_cc_5.WR_SOP;
                    wr_eop_5_13<=de_cc_5.WR_EOP;
                    wr_data_5_13<=de_cc_5.WR_DATA;
                    wr_vld_5_13<=de_cc_5.WR_VLD;
                    data_status_5_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[5]) begin
                    data_size_5_14<=de_cc_5.DATA_SIZE;
                    data_pri_5_14<=de_cc_5.DATA_PRIO;
                    wr_sop_5_14<=de_cc_5.WR_SOP;
                    wr_eop_5_14<=de_cc_5.WR_EOP;
                    wr_data_5_14<=de_cc_5.WR_DATA;
                    wr_vld_5_14<=de_cc_5.WR_VLD;
                    data_status_5_14<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_14<=de_cc_5.DATA_SIZE;
                    data_pri_5_14<=de_cc_5.DATA_PRIO;
                    wr_sop_5_14<=de_cc_5.WR_SOP;
                    wr_eop_5_14<=de_cc_5.WR_EOP;
                    wr_data_5_14<=de_cc_5.WR_DATA;
                    wr_vld_5_14<=de_cc_5.WR_VLD;
                    data_status_5_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[5]) begin
                    data_size_5_15<=de_cc_5.DATA_SIZE;
                    data_pri_5_15<=de_cc_5.DATA_PRIO;
                    wr_sop_5_15<=de_cc_5.WR_SOP;
                    wr_eop_5_15<=de_cc_5.WR_EOP;
                    wr_data_5_15<=de_cc_5.WR_DATA;
                    wr_vld_5_15<=de_cc_5.WR_VLD;
                    data_status_5_15<=1'b1;
                end
                else if(huan_cun[5]) begin
                    data_size_5_15<=de_cc_5.DATA_SIZE;
                    data_pri_5_15<=de_cc_5.DATA_PRIO;
                    wr_sop_5_15<=de_cc_5.WR_SOP;
                    wr_eop_5_15<=de_cc_5.WR_EOP;
                    wr_data_5_15<=de_cc_5.WR_DATA;
                    wr_vld_5_15<=de_cc_5.WR_VLD;
                    data_status_5_15<=1'b0;
                end
            end
            default:begin
                data_size_5_0<=11'd0;
                data_size_5_1<=11'd0;
                data_size_5_2<=11'd0;
                data_size_5_3<=11'd0;
                data_size_5_4<=11'd0;
                data_size_5_5<=11'd0;
                data_size_5_6<=11'd0;
                data_size_5_7<=11'd0;
                data_size_5_8<=11'd0;
                data_size_5_9<=11'd0;
                data_size_5_10<=11'd0;
                data_size_5_11<=11'd0;
                data_size_5_12<=11'd0;
                data_size_5_13<=11'd0;
                data_size_5_14<=11'd0;
                data_size_5_15<=11'd0;
                data_pri_5_0<=3'd0;
                data_pri_5_1<=3'd0;
                data_pri_5_2<=3'd0;
                data_pri_5_3<=3'd0;
                data_pri_5_4<=3'd0;
                data_pri_5_5<=3'd0;
                data_pri_5_6<=3'd0;
                data_pri_5_7<=3'd0;
                data_pri_5_8<=3'd0;
                data_pri_5_9<=3'd0;
                data_pri_5_10<=3'd0;
                data_pri_5_11<=3'd0;
                data_pri_5_12<=3'd0;
                data_pri_5_13<=3'd0;
                data_pri_5_14<=3'd0;
                data_pri_5_15<=3'd0;
                wr_sop_5_0<=1'b0;
                wr_sop_5_1<=1'b0;
                wr_sop_5_2<=1'b0;
                wr_sop_5_3<=1'b0;
                wr_sop_5_4<=1'b0;
                wr_sop_5_5<=1'b0;
                wr_sop_5_6<=1'b0;
                wr_sop_5_7<=1'b0;
                wr_sop_5_8<=1'b0;
                wr_sop_5_9<=1'b0;
                wr_sop_5_10<=1'b0;
                wr_sop_5_11<=1'b0;
                wr_sop_5_12<=1'b0;
                wr_sop_5_13<=1'b0;
                wr_sop_5_14<=1'b0;
                wr_sop_5_15<=1'b0;
                wr_eop_5_0<=1'b0;
                wr_eop_5_1<=1'b0;
                wr_eop_5_2<=1'b0;
                wr_eop_5_3<=1'b0;
                wr_eop_5_4<=1'b0;
                wr_eop_5_5<=1'b0;
                wr_eop_5_6<=1'b0;
                wr_eop_5_7<=1'b0;
                wr_eop_5_8<=1'b0;
                wr_eop_5_9<=1'b0;
                wr_eop_5_10<=1'b0;
                wr_eop_5_11<=1'b0;
                wr_eop_5_12<=1'b0;
                wr_eop_5_13<=1'b0;
                wr_eop_5_14<=1'b0;
                wr_eop_5_15<=1'b0;
                wr_data_5_0<=36'd0;
                wr_data_5_1<=36'd0;
                wr_data_5_2<=36'd0;
                wr_data_5_3<=36'd0;
                wr_data_5_4<=36'd0;
                wr_data_5_5<=36'd0;
                wr_data_5_6<=36'd0;
                wr_data_5_7<=36'd0;
                wr_data_5_8<=36'd0;
                wr_data_5_9<=36'd0;
                wr_data_5_10<=36'd0;
                wr_data_5_11<=36'd0;
                wr_data_5_12<=36'd0;
                wr_data_5_13<=36'd0;
                wr_data_5_14<=36'd0;
                wr_data_5_15<=36'd0;
                wr_vld_5_0<=1'b0;
                wr_vld_5_1<=1'b0;
                wr_vld_5_2<=1'b0;
                wr_vld_5_3<=1'b0;
                wr_vld_5_4<=1'b0;
                wr_vld_5_5<=1'b0;
                wr_vld_5_6<=1'b0;
                wr_vld_5_7<=1'b0;
                wr_vld_5_8<=1'b0;
                wr_vld_5_9<=1'b0;
                wr_vld_5_10<=1'b0;
                wr_vld_5_11<=1'b0;
                wr_vld_5_12<=1'b0;
                wr_vld_5_13<=1'b0;
                wr_vld_5_14<=1'b0;
                wr_vld_5_15<=1'b0;                   
                data_status_5_0<=1'b0;
                data_status_5_1<=1'b0;
                data_status_5_2<=1'b0;
                data_status_5_3<=1'b0;
                data_status_5_4<=1'b0;
                data_status_5_5<=1'b0;
                data_status_5_6<=1'b0;
                data_status_5_7<=1'b0;
                data_status_5_8<=1'b0;
                data_status_5_9<=1'b0;
                data_status_5_10<=1'b0;
                data_status_5_11<=1'b0;
                data_status_5_12<=1'b0;
                data_status_5_13<=1'b0;
                data_status_5_14<=1'b0;
                data_status_5_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_6_0<=11'd0;
        data_size_6_1<=11'd0;
        data_size_6_2<=11'd0;
        data_size_6_3<=11'd0;
        data_size_6_4<=11'd0;
        data_size_6_5<=11'd0;
        data_size_6_6<=11'd0;
        data_size_6_7<=11'd0;
        data_size_6_8<=11'd0;
        data_size_6_9<=11'd0;
        data_size_6_10<=11'd0;
        data_size_6_11<=11'd0;
        data_size_6_12<=11'd0;
        data_size_6_13<=11'd0;
        data_size_6_14<=11'd0;
        data_size_6_15<=11'd0;
        data_pri_6_0<=3'd0;
        data_pri_6_1<=3'd0;
        data_pri_6_2<=3'd0;
        data_pri_6_3<=3'd0;
        data_pri_6_4<=3'd0;
        data_pri_6_5<=3'd0;
        data_pri_6_6<=3'd0;
        data_pri_6_7<=3'd0;
        data_pri_6_8<=3'd0;
        data_pri_6_9<=3'd0;
        data_pri_6_10<=3'd0;
        data_pri_6_11<=3'd0;
        data_pri_6_12<=3'd0;
        data_pri_6_13<=3'd0;
        data_pri_6_14<=3'd0;
        data_pri_6_15<=3'd0;
        wr_sop_6_0<=1'b0;
        wr_sop_6_1<=1'b0;
        wr_sop_6_2<=1'b0;
        wr_sop_6_3<=1'b0;
        wr_sop_6_4<=1'b0;
        wr_sop_6_5<=1'b0;
        wr_sop_6_6<=1'b0;
        wr_sop_6_7<=1'b0;
        wr_sop_6_8<=1'b0;
        wr_sop_6_9<=1'b0;
        wr_sop_6_10<=1'b0;
        wr_sop_6_11<=1'b0;
        wr_sop_6_12<=1'b0;
        wr_sop_6_13<=1'b0;
        wr_sop_6_14<=1'b0;
        wr_sop_6_15<=1'b0;
        wr_eop_6_0<=1'b0;
        wr_eop_6_1<=1'b0;
        wr_eop_6_2<=1'b0;
        wr_eop_6_3<=1'b0;
        wr_eop_6_4<=1'b0;
        wr_eop_6_5<=1'b0;
        wr_eop_6_6<=1'b0;
        wr_eop_6_7<=1'b0;
        wr_eop_6_8<=1'b0;
        wr_eop_6_9<=1'b0;
        wr_eop_6_10<=1'b0;
        wr_eop_6_11<=1'b0;
        wr_eop_6_12<=1'b0;
        wr_eop_6_13<=1'b0;
        wr_eop_6_14<=1'b0;
        wr_eop_6_15<=1'b0;
        wr_data_6_0<=36'd0;
        wr_data_6_1<=36'd0;
        wr_data_6_2<=36'd0;
        wr_data_6_3<=36'd0;
        wr_data_6_4<=36'd0;
        wr_data_6_5<=36'd0;
        wr_data_6_6<=36'd0;
        wr_data_6_7<=36'd0;
        wr_data_6_8<=36'd0;
        wr_data_6_9<=36'd0;
        wr_data_6_10<=36'd0;
        wr_data_6_11<=36'd0;
        wr_data_6_12<=36'd0;
        wr_data_6_13<=36'd0;
        wr_data_6_14<=36'd0;
        wr_data_6_15<=36'd0;
        wr_vld_6_0<=1'b0;
        wr_vld_6_1<=1'b0;
        wr_vld_6_2<=1'b0;
        wr_vld_6_3<=1'b0;
        wr_vld_6_4<=1'b0;
        wr_vld_6_5<=1'b0;
        wr_vld_6_6<=1'b0;
        wr_vld_6_7<=1'b0;
        wr_vld_6_8<=1'b0;
        wr_vld_6_9<=1'b0;
        wr_vld_6_10<=1'b0;
        wr_vld_6_11<=1'b0;
        wr_vld_6_12<=1'b0;
        wr_vld_6_13<=1'b0;
        wr_vld_6_14<=1'b0;
        wr_vld_6_15<=1'b0;                   
        data_status_6_0<=1'b0;
        data_status_6_1<=1'b0;
        data_status_6_2<=1'b0;
        data_status_6_3<=1'b0;
        data_status_6_4<=1'b0;
        data_status_6_5<=1'b0;
        data_status_6_6<=1'b0;
        data_status_6_7<=1'b0;
        data_status_6_8<=1'b0;
        data_status_6_9<=1'b0;
        data_status_6_10<=1'b0;
        data_status_6_11<=1'b0;
        data_status_6_12<=1'b0;
        data_status_6_13<=1'b0;
        data_status_6_14<=1'b0;
        data_status_6_15<=1'b0;
    end
    else if(REQ6_1)begin
        case(de_cc_6.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[6]) begin
                    data_size_6_0<=de_cc_6.DATA_SIZE;
                    data_pri_6_0<=de_cc_6.DATA_PRIO;
                    wr_sop_6_0<=de_cc_6.WR_SOP;
                    wr_eop_6_0<=de_cc_6.WR_EOP;
                    wr_data_6_0<=de_cc_6.WR_DATA;
                    wr_vld_6_0<=de_cc_6.WR_VLD;
                    data_status_6_0<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_0<=de_cc_6.DATA_SIZE;
                    data_pri_6_0<=de_cc_6.DATA_PRIO;
                    wr_sop_6_0<=de_cc_6.WR_SOP;
                    wr_eop_6_0<=de_cc_6.WR_EOP;
                    wr_data_6_0<=de_cc_6.WR_DATA;
                    wr_vld_6_0<=de_cc_6.WR_VLD;
                    data_status_6_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[6]) begin
                    data_size_6_1<=de_cc_6.DATA_SIZE;
                    data_pri_6_1<=de_cc_6.DATA_PRIO;
                    wr_sop_6_1<=de_cc_6.WR_SOP;
                    wr_eop_6_1<=de_cc_6.WR_EOP;
                    wr_data_6_1<=de_cc_6.WR_DATA;
                    wr_vld_6_1<=de_cc_6.WR_VLD;
                    data_status_6_1<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_1<=de_cc_6.DATA_SIZE;
                    data_pri_6_1<=de_cc_6.DATA_PRIO;
                    wr_sop_6_1<=de_cc_6.WR_SOP;
                    wr_eop_6_1<=de_cc_6.WR_EOP;
                    wr_data_6_1<=de_cc_6.WR_DATA;
                    wr_vld_6_1<=de_cc_6.WR_VLD;
                    data_status_6_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[6]) begin
                    data_size_6_2<=de_cc_6.DATA_SIZE;
                    data_pri_6_2<=de_cc_6.DATA_PRIO;
                    wr_sop_6_2<=de_cc_6.WR_SOP;
                    wr_eop_6_2<=de_cc_6.WR_EOP;
                    wr_data_6_2<=de_cc_6.WR_DATA;
                    wr_vld_6_2<=de_cc_6.WR_VLD;
                    data_status_6_2<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_2<=de_cc_6.DATA_SIZE;
                    data_pri_6_2<=de_cc_6.DATA_PRIO;
                    wr_sop_6_2<=de_cc_6.WR_SOP;
                    wr_eop_6_2<=de_cc_6.WR_EOP;
                    wr_data_6_2<=de_cc_6.WR_DATA;
                    wr_vld_6_2<=de_cc_6.WR_VLD;
                    data_status_6_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[6]) begin
                    data_size_6_3<=de_cc_6.DATA_SIZE;
                    data_pri_6_3<=de_cc_6.DATA_PRIO;
                    wr_sop_6_3<=de_cc_6.WR_SOP;
                    wr_eop_6_3<=de_cc_6.WR_EOP;
                    wr_data_6_3<=de_cc_6.WR_DATA;
                    wr_vld_6_3<=de_cc_6.WR_VLD;
                    data_status_6_3<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_3<=de_cc_6.DATA_SIZE;
                    data_pri_6_3<=de_cc_6.DATA_PRIO;
                    wr_sop_6_3<=de_cc_6.WR_SOP;
                    wr_eop_6_3<=de_cc_6.WR_EOP;
                    wr_data_6_3<=de_cc_6.WR_DATA;
                    wr_vld_6_3<=de_cc_6.WR_VLD;
                    data_status_6_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[6]) begin
                    data_size_6_4<=de_cc_6.DATA_SIZE;
                    data_pri_6_4<=de_cc_6.DATA_PRIO;
                    wr_sop_6_4<=de_cc_6.WR_SOP;
                    wr_eop_6_4<=de_cc_6.WR_EOP;
                    wr_data_6_4<=de_cc_6.WR_DATA;
                    wr_vld_6_4<=de_cc_6.WR_VLD;
                    data_status_6_4<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_4<=de_cc_6.DATA_SIZE;
                    data_pri_6_4<=de_cc_6.DATA_PRIO;
                    wr_sop_6_4<=de_cc_6.WR_SOP;
                    wr_eop_6_4<=de_cc_6.WR_EOP;
                    wr_data_6_4<=de_cc_6.WR_DATA;
                    wr_vld_6_4<=de_cc_6.WR_VLD;
                    data_status_6_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[6]) begin
                    data_size_6_5<=de_cc_6.DATA_SIZE;
                    data_pri_6_5<=de_cc_6.DATA_PRIO;
                    wr_sop_6_5<=de_cc_6.WR_SOP;
                    wr_eop_6_5<=de_cc_6.WR_EOP;
                    wr_data_6_5<=de_cc_6.WR_DATA;
                    wr_vld_6_5<=de_cc_6.WR_VLD;
                    data_status_6_5<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_5<=de_cc_6.DATA_SIZE;
                    data_pri_6_5<=de_cc_6.DATA_PRIO;
                    wr_sop_6_5<=de_cc_6.WR_SOP;
                    wr_eop_6_5<=de_cc_6.WR_EOP;
                    wr_data_6_5<=de_cc_6.WR_DATA;
                    wr_vld_6_5<=de_cc_6.WR_VLD;
                    data_status_6_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[6]) begin
                    data_size_6_6<=de_cc_6.DATA_SIZE;
                    data_pri_6_6<=de_cc_6.DATA_PRIO;
                    wr_sop_6_6<=de_cc_6.WR_SOP;
                    wr_eop_6_6<=de_cc_6.WR_EOP;
                    wr_data_6_6<=de_cc_6.WR_DATA;
                    wr_vld_6_6<=de_cc_6.WR_VLD;
                    data_status_6_6<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_6<=de_cc_6.DATA_SIZE;
                    data_pri_6_6<=de_cc_6.DATA_PRIO;
                    wr_sop_6_6<=de_cc_6.WR_SOP;
                    wr_eop_6_6<=de_cc_6.WR_EOP;
                    wr_data_6_6<=de_cc_6.WR_DATA;
                    wr_vld_6_6<=de_cc_6.WR_VLD;
                    data_status_6_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[6]) begin
                    data_size_6_7<=de_cc_6.DATA_SIZE;
                    data_pri_6_7<=de_cc_6.DATA_PRIO;
                    wr_sop_6_7<=de_cc_6.WR_SOP;
                    wr_eop_6_7<=de_cc_6.WR_EOP;
                    wr_data_6_7<=de_cc_6.WR_DATA;
                    wr_vld_6_7<=de_cc_6.WR_VLD;
                    data_status_6_7<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_7<=de_cc_6.DATA_SIZE;
                    data_pri_6_7<=de_cc_6.DATA_PRIO;
                    wr_sop_6_7<=de_cc_6.WR_SOP;
                    wr_eop_6_7<=de_cc_6.WR_EOP;
                    wr_data_6_7<=de_cc_6.WR_DATA;
                    wr_vld_6_7<=de_cc_6.WR_VLD;
                    data_status_6_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[6]) begin
                    data_size_6_8<=de_cc_6.DATA_SIZE;
                    data_pri_6_8<=de_cc_6.DATA_PRIO;
                    wr_sop_6_8<=de_cc_6.WR_SOP;
                    wr_eop_6_8<=de_cc_6.WR_EOP;
                    wr_data_6_8<=de_cc_6.WR_DATA;
                    wr_vld_6_8<=de_cc_6.WR_VLD;
                    data_status_6_8<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_8<=de_cc_6.DATA_SIZE;
                    data_pri_6_8<=de_cc_6.DATA_PRIO;
                    wr_sop_6_8<=de_cc_6.WR_SOP;
                    wr_eop_6_8<=de_cc_6.WR_EOP;
                    wr_data_6_8<=de_cc_6.WR_DATA;
                    wr_vld_6_8<=de_cc_6.WR_VLD;
                    data_status_6_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[6]) begin
                    data_size_6_9<=de_cc_6.DATA_SIZE;
                    data_pri_6_9<=de_cc_6.DATA_PRIO;
                    wr_sop_6_9<=de_cc_6.WR_SOP;
                    wr_eop_6_9<=de_cc_6.WR_EOP;
                    wr_data_6_9<=de_cc_6.WR_DATA;
                    wr_vld_6_9<=de_cc_6.WR_VLD;
                    data_status_6_9<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_9<=de_cc_6.DATA_SIZE;
                    data_pri_6_9<=de_cc_6.DATA_PRIO;
                    wr_sop_6_9<=de_cc_6.WR_SOP;
                    wr_eop_6_9<=de_cc_6.WR_EOP;
                    wr_data_6_9<=de_cc_6.WR_DATA;
                    wr_vld_6_9<=de_cc_6.WR_VLD;
                    data_status_6_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[6]) begin
                    data_size_6_10<=de_cc_6.DATA_SIZE;
                    data_pri_6_10<=de_cc_6.DATA_PRIO;
                    wr_sop_6_10<=de_cc_6.WR_SOP;
                    wr_eop_6_10<=de_cc_6.WR_EOP;
                    wr_data_6_10<=de_cc_6.WR_DATA;
                    wr_vld_6_10<=de_cc_6.WR_VLD;
                    data_status_6_10<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_10<=de_cc_6.DATA_SIZE;
                    data_pri_6_10<=de_cc_6.DATA_PRIO;
                    wr_sop_6_10<=de_cc_6.WR_SOP;
                    wr_eop_6_10<=de_cc_6.WR_EOP;
                    wr_data_6_10<=de_cc_6.WR_DATA;
                    wr_vld_6_10<=de_cc_6.WR_VLD;
                    data_status_6_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[6]) begin
                    data_size_6_11<=de_cc_6.DATA_SIZE;
                    data_pri_6_11<=de_cc_6.DATA_PRIO;
                    wr_sop_6_11<=de_cc_6.WR_SOP;
                    wr_eop_6_11<=de_cc_6.WR_EOP;
                    wr_data_6_11<=de_cc_6.WR_DATA;
                    wr_vld_6_11<=de_cc_6.WR_VLD;
                    data_status_6_11<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_11<=de_cc_6.DATA_SIZE;
                    data_pri_6_11<=de_cc_6.DATA_PRIO;
                    wr_sop_6_11<=de_cc_6.WR_SOP;
                    wr_eop_6_11<=de_cc_6.WR_EOP;
                    wr_data_6_11<=de_cc_6.WR_DATA;
                    wr_vld_6_11<=de_cc_6.WR_VLD;
                    data_status_6_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[6]) begin
                    data_size_6_12<=de_cc_6.DATA_SIZE;
                    data_pri_6_12<=de_cc_6.DATA_PRIO;
                    wr_sop_6_12<=de_cc_6.WR_SOP;
                    wr_eop_6_12<=de_cc_6.WR_EOP;
                    wr_data_6_12<=de_cc_6.WR_DATA;
                    wr_vld_6_12<=de_cc_6.WR_VLD;
                    data_status_6_12<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_12<=de_cc_6.DATA_SIZE;
                    data_pri_6_12<=de_cc_6.DATA_PRIO;
                    wr_sop_6_12<=de_cc_6.WR_SOP;
                    wr_eop_6_12<=de_cc_6.WR_EOP;
                    wr_data_6_12<=de_cc_6.WR_DATA;
                    wr_vld_6_12<=de_cc_6.WR_VLD;
                    data_status_6_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[6]) begin
                    data_size_6_13<=de_cc_6.DATA_SIZE;
                    data_pri_6_13<=de_cc_6.DATA_PRIO;
                    wr_sop_6_13<=de_cc_6.WR_SOP;
                    wr_eop_6_13<=de_cc_6.WR_EOP;
                    wr_data_6_13<=de_cc_6.WR_DATA;
                    wr_vld_6_13<=de_cc_6.WR_VLD;
                    data_status_6_13<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_13<=de_cc_6.DATA_SIZE;
                    data_pri_6_13<=de_cc_6.DATA_PRIO;
                    wr_sop_6_13<=de_cc_6.WR_SOP;
                    wr_eop_6_13<=de_cc_6.WR_EOP;
                    wr_data_6_13<=de_cc_6.WR_DATA;
                    wr_vld_6_13<=de_cc_6.WR_VLD;
                    data_status_6_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[6]) begin
                    data_size_6_14<=de_cc_6.DATA_SIZE;
                    data_pri_6_14<=de_cc_6.DATA_PRIO;
                    wr_sop_6_14<=de_cc_6.WR_SOP;
                    wr_eop_6_14<=de_cc_6.WR_EOP;
                    wr_data_6_14<=de_cc_6.WR_DATA;
                    wr_vld_6_14<=de_cc_6.WR_VLD;
                    data_status_6_14<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_14<=de_cc_6.DATA_SIZE;
                    data_pri_6_14<=de_cc_6.DATA_PRIO;
                    wr_sop_6_14<=de_cc_6.WR_SOP;
                    wr_eop_6_14<=de_cc_6.WR_EOP;
                    wr_data_6_14<=de_cc_6.WR_DATA;
                    wr_vld_6_14<=de_cc_6.WR_VLD;
                    data_status_6_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[6]) begin
                    data_size_6_15<=de_cc_6.DATA_SIZE;
                    data_pri_6_15<=de_cc_6.DATA_PRIO;
                    wr_sop_6_15<=de_cc_6.WR_SOP;
                    wr_eop_6_15<=de_cc_6.WR_EOP;
                    wr_data_6_15<=de_cc_6.WR_DATA;
                    wr_vld_6_15<=de_cc_6.WR_VLD;
                    data_status_6_15<=1'b1;
                end
                else if(huan_cun[6]) begin
                    data_size_6_15<=de_cc_6.DATA_SIZE;
                    data_pri_6_15<=de_cc_6.DATA_PRIO;
                    wr_sop_6_15<=de_cc_6.WR_SOP;
                    wr_eop_6_15<=de_cc_6.WR_EOP;
                    wr_data_6_15<=de_cc_6.WR_DATA;
                    wr_vld_6_15<=de_cc_6.WR_VLD;
                    data_status_6_15<=1'b0;
                end
            end
            default:begin
                data_size_6_0<=11'd0;
                data_size_6_1<=11'd0;
                data_size_6_2<=11'd0;
                data_size_6_3<=11'd0;
                data_size_6_4<=11'd0;
                data_size_6_5<=11'd0;
                data_size_6_6<=11'd0;
                data_size_6_7<=11'd0;
                data_size_6_8<=11'd0;
                data_size_6_9<=11'd0;
                data_size_6_10<=11'd0;
                data_size_6_11<=11'd0;
                data_size_6_12<=11'd0;
                data_size_6_13<=11'd0;
                data_size_6_14<=11'd0;
                data_size_6_15<=11'd0;
                data_pri_6_0<=3'd0;
                data_pri_6_1<=3'd0;
                data_pri_6_2<=3'd0;
                data_pri_6_3<=3'd0;
                data_pri_6_4<=3'd0;
                data_pri_6_5<=3'd0;
                data_pri_6_6<=3'd0;
                data_pri_6_7<=3'd0;
                data_pri_6_8<=3'd0;
                data_pri_6_9<=3'd0;
                data_pri_6_10<=3'd0;
                data_pri_6_11<=3'd0;
                data_pri_6_12<=3'd0;
                data_pri_6_13<=3'd0;
                data_pri_6_14<=3'd0;
                data_pri_6_15<=3'd0;
                wr_sop_6_0<=1'b0;
                wr_sop_6_1<=1'b0;
                wr_sop_6_2<=1'b0;
                wr_sop_6_3<=1'b0;
                wr_sop_6_4<=1'b0;
                wr_sop_6_5<=1'b0;
                wr_sop_6_6<=1'b0;
                wr_sop_6_7<=1'b0;
                wr_sop_6_8<=1'b0;
                wr_sop_6_9<=1'b0;
                wr_sop_6_10<=1'b0;
                wr_sop_6_11<=1'b0;
                wr_sop_6_12<=1'b0;
                wr_sop_6_13<=1'b0;
                wr_sop_6_14<=1'b0;
                wr_sop_6_15<=1'b0;
                wr_eop_6_0<=1'b0;
                wr_eop_6_1<=1'b0;
                wr_eop_6_2<=1'b0;
                wr_eop_6_3<=1'b0;
                wr_eop_6_4<=1'b0;
                wr_eop_6_5<=1'b0;
                wr_eop_6_6<=1'b0;
                wr_eop_6_7<=1'b0;
                wr_eop_6_8<=1'b0;
                wr_eop_6_9<=1'b0;
                wr_eop_6_10<=1'b0;
                wr_eop_6_11<=1'b0;
                wr_eop_6_12<=1'b0;
                wr_eop_6_13<=1'b0;
                wr_eop_6_14<=1'b0;
                wr_eop_6_15<=1'b0;
                wr_data_6_0<=36'd0;
                wr_data_6_1<=36'd0;
                wr_data_6_2<=36'd0;
                wr_data_6_3<=36'd0;
                wr_data_6_4<=36'd0;
                wr_data_6_5<=36'd0;
                wr_data_6_6<=36'd0;
                wr_data_6_7<=36'd0;
                wr_data_6_8<=36'd0;
                wr_data_6_9<=36'd0;
                wr_data_6_10<=36'd0;
                wr_data_6_11<=36'd0;
                wr_data_6_12<=36'd0;
                wr_data_6_13<=36'd0;
                wr_data_6_14<=36'd0;
                wr_data_6_15<=36'd0;
                wr_vld_6_0<=1'b0;
                wr_vld_6_1<=1'b0;
                wr_vld_6_2<=1'b0;
                wr_vld_6_3<=1'b0;
                wr_vld_6_4<=1'b0;
                wr_vld_6_5<=1'b0;
                wr_vld_6_6<=1'b0;
                wr_vld_6_7<=1'b0;
                wr_vld_6_8<=1'b0;
                wr_vld_6_9<=1'b0;
                wr_vld_6_10<=1'b0;
                wr_vld_6_11<=1'b0;
                wr_vld_6_12<=1'b0;
                wr_vld_6_13<=1'b0;
                wr_vld_6_14<=1'b0;
                wr_vld_6_15<=1'b0;                   
                data_status_6_0<=1'b0;
                data_status_6_1<=1'b0;
                data_status_6_2<=1'b0;
                data_status_6_3<=1'b0;
                data_status_6_4<=1'b0;
                data_status_6_5<=1'b0;
                data_status_6_6<=1'b0;
                data_status_6_7<=1'b0;
                data_status_6_8<=1'b0;
                data_status_6_9<=1'b0;
                data_status_6_10<=1'b0;
                data_status_6_11<=1'b0;
                data_status_6_12<=1'b0;
                data_status_6_13<=1'b0;
                data_status_6_14<=1'b0;
                data_status_6_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_7_0<=11'd0;
        data_size_7_1<=11'd0;
        data_size_7_2<=11'd0;
        data_size_7_3<=11'd0;
        data_size_7_4<=11'd0;
        data_size_7_5<=11'd0;
        data_size_7_6<=11'd0;
        data_size_7_7<=11'd0;
        data_size_7_8<=11'd0;
        data_size_7_9<=11'd0;
        data_size_7_10<=11'd0;
        data_size_7_11<=11'd0;
        data_size_7_12<=11'd0;
        data_size_7_13<=11'd0;
        data_size_7_14<=11'd0;
        data_size_7_15<=11'd0;
        data_pri_7_0<=3'd0;
        data_pri_7_1<=3'd0;
        data_pri_7_2<=3'd0;
        data_pri_7_3<=3'd0;
        data_pri_7_4<=3'd0;
        data_pri_7_5<=3'd0;
        data_pri_7_6<=3'd0;
        data_pri_7_7<=3'd0;
        data_pri_7_8<=3'd0;
        data_pri_7_9<=3'd0;
        data_pri_7_10<=3'd0;
        data_pri_7_11<=3'd0;
        data_pri_7_12<=3'd0;
        data_pri_7_13<=3'd0;
        data_pri_7_14<=3'd0;
        data_pri_7_15<=3'd0;
        wr_sop_7_0<=1'b0;
        wr_sop_7_1<=1'b0;
        wr_sop_7_2<=1'b0;
        wr_sop_7_3<=1'b0;
        wr_sop_7_4<=1'b0;
        wr_sop_7_5<=1'b0;
        wr_sop_7_6<=1'b0;
        wr_sop_7_7<=1'b0;
        wr_sop_7_8<=1'b0;
        wr_sop_7_9<=1'b0;
        wr_sop_7_10<=1'b0;
        wr_sop_7_11<=1'b0;
        wr_sop_7_12<=1'b0;
        wr_sop_7_13<=1'b0;
        wr_sop_7_14<=1'b0;
        wr_sop_7_15<=1'b0;
        wr_eop_7_0<=1'b0;
        wr_eop_7_1<=1'b0;
        wr_eop_7_2<=1'b0;
        wr_eop_7_3<=1'b0;
        wr_eop_7_4<=1'b0;
        wr_eop_7_5<=1'b0;
        wr_eop_7_6<=1'b0;
        wr_eop_7_7<=1'b0;
        wr_eop_7_8<=1'b0;
        wr_eop_7_9<=1'b0;
        wr_eop_7_10<=1'b0;
        wr_eop_7_11<=1'b0;
        wr_eop_7_12<=1'b0;
        wr_eop_7_13<=1'b0;
        wr_eop_7_14<=1'b0;
        wr_eop_7_15<=1'b0;
        wr_data_7_0<=36'd0;
        wr_data_7_1<=36'd0;
        wr_data_7_2<=36'd0;
        wr_data_7_3<=36'd0;
        wr_data_7_4<=36'd0;
        wr_data_7_5<=36'd0;
        wr_data_7_6<=36'd0;
        wr_data_7_7<=36'd0;
        wr_data_7_8<=36'd0;
        wr_data_7_9<=36'd0;
        wr_data_7_10<=36'd0;
        wr_data_7_11<=36'd0;
        wr_data_7_12<=36'd0;
        wr_data_7_13<=36'd0;
        wr_data_7_14<=36'd0;
        wr_data_7_15<=36'd0;
        wr_vld_7_0<=1'b0;
        wr_vld_7_1<=1'b0;
        wr_vld_7_2<=1'b0;
        wr_vld_7_3<=1'b0;
        wr_vld_7_4<=1'b0;
        wr_vld_7_5<=1'b0;
        wr_vld_7_6<=1'b0;
        wr_vld_7_7<=1'b0;
        wr_vld_7_8<=1'b0;
        wr_vld_7_9<=1'b0;
        wr_vld_7_10<=1'b0;
        wr_vld_7_11<=1'b0;
        wr_vld_7_12<=1'b0;
        wr_vld_7_13<=1'b0;
        wr_vld_7_14<=1'b0;
        wr_vld_7_15<=1'b0;                   
        data_status_7_0<=1'b0;
        data_status_7_1<=1'b0;
        data_status_7_2<=1'b0;
        data_status_7_3<=1'b0;
        data_status_7_4<=1'b0;
        data_status_7_5<=1'b0;
        data_status_7_6<=1'b0;
        data_status_7_7<=1'b0;
        data_status_7_8<=1'b0;
        data_status_7_9<=1'b0;
        data_status_7_10<=1'b0;
        data_status_7_11<=1'b0;
        data_status_7_12<=1'b0;
        data_status_7_13<=1'b0;
        data_status_7_14<=1'b0;
        data_status_7_15<=1'b0;
    end
    else if(REQ7_1)begin
        case(de_cc_7.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[7]) begin
                    data_size_7_0<=de_cc_7.DATA_SIZE;
                    data_pri_7_0<=de_cc_7.DATA_PRIO;
                    wr_sop_7_0<=de_cc_7.WR_SOP;
                    wr_eop_7_0<=de_cc_7.WR_EOP;
                    wr_data_7_0<=de_cc_7.WR_DATA;
                    wr_vld_7_0<=de_cc_7.WR_VLD;
                    data_status_7_0<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_0<=de_cc_7.DATA_SIZE;
                    data_pri_7_0<=de_cc_7.DATA_PRIO;
                    wr_sop_7_0<=de_cc_7.WR_SOP;
                    wr_eop_7_0<=de_cc_7.WR_EOP;
                    wr_data_7_0<=de_cc_7.WR_DATA;
                    wr_vld_7_0<=de_cc_7.WR_VLD;
                    data_status_7_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[7]) begin
                    data_size_7_1<=de_cc_7.DATA_SIZE;
                    data_pri_7_1<=de_cc_7.DATA_PRIO;
                    wr_sop_7_1<=de_cc_7.WR_SOP;
                    wr_eop_7_1<=de_cc_7.WR_EOP;
                    wr_data_7_1<=de_cc_7.WR_DATA;
                    wr_vld_7_1<=de_cc_7.WR_VLD;
                    data_status_7_1<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_1<=de_cc_7.DATA_SIZE;
                    data_pri_7_1<=de_cc_7.DATA_PRIO;
                    wr_sop_7_1<=de_cc_7.WR_SOP;
                    wr_eop_7_1<=de_cc_7.WR_EOP;
                    wr_data_7_1<=de_cc_7.WR_DATA;
                    wr_vld_7_1<=de_cc_7.WR_VLD;
                    data_status_7_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[7]) begin
                    data_size_7_2<=de_cc_7.DATA_SIZE;
                    data_pri_7_2<=de_cc_7.DATA_PRIO;
                    wr_sop_7_2<=de_cc_7.WR_SOP;
                    wr_eop_7_2<=de_cc_7.WR_EOP;
                    wr_data_7_2<=de_cc_7.WR_DATA;
                    wr_vld_7_2<=de_cc_7.WR_VLD;
                    data_status_7_2<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_2<=de_cc_7.DATA_SIZE;
                    data_pri_7_2<=de_cc_7.DATA_PRIO;
                    wr_sop_7_2<=de_cc_7.WR_SOP;
                    wr_eop_7_2<=de_cc_7.WR_EOP;
                    wr_data_7_2<=de_cc_7.WR_DATA;
                    wr_vld_7_2<=de_cc_7.WR_VLD;
                    data_status_7_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[7]) begin
                    data_size_7_3<=de_cc_7.DATA_SIZE;
                    data_pri_7_3<=de_cc_7.DATA_PRIO;
                    wr_sop_7_3<=de_cc_7.WR_SOP;
                    wr_eop_7_3<=de_cc_7.WR_EOP;
                    wr_data_7_3<=de_cc_7.WR_DATA;
                    wr_vld_7_3<=de_cc_7.WR_VLD;
                    data_status_7_3<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_3<=de_cc_7.DATA_SIZE;
                    data_pri_7_3<=de_cc_7.DATA_PRIO;
                    wr_sop_7_3<=de_cc_7.WR_SOP;
                    wr_eop_7_3<=de_cc_7.WR_EOP;
                    wr_data_7_3<=de_cc_7.WR_DATA;
                    wr_vld_7_3<=de_cc_7.WR_VLD;
                    data_status_7_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[7]) begin
                    data_size_7_4<=de_cc_7.DATA_SIZE;
                    data_pri_7_4<=de_cc_7.DATA_PRIO;
                    wr_sop_7_4<=de_cc_7.WR_SOP;
                    wr_eop_7_4<=de_cc_7.WR_EOP;
                    wr_data_7_4<=de_cc_7.WR_DATA;
                    wr_vld_7_4<=de_cc_7.WR_VLD;
                    data_status_7_4<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_4<=de_cc_7.DATA_SIZE;
                    data_pri_7_4<=de_cc_7.DATA_PRIO;
                    wr_sop_7_4<=de_cc_7.WR_SOP;
                    wr_eop_7_4<=de_cc_7.WR_EOP;
                    wr_data_7_4<=de_cc_7.WR_DATA;
                    wr_vld_7_4<=de_cc_7.WR_VLD;
                    data_status_7_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[7]) begin
                    data_size_7_5<=de_cc_7.DATA_SIZE;
                    data_pri_7_5<=de_cc_7.DATA_PRIO;
                    wr_sop_7_5<=de_cc_7.WR_SOP;
                    wr_eop_7_5<=de_cc_7.WR_EOP;
                    wr_data_7_5<=de_cc_7.WR_DATA;
                    wr_vld_7_5<=de_cc_7.WR_VLD;
                    data_status_7_5<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_5<=de_cc_7.DATA_SIZE;
                    data_pri_7_5<=de_cc_7.DATA_PRIO;
                    wr_sop_7_5<=de_cc_7.WR_SOP;
                    wr_eop_7_5<=de_cc_7.WR_EOP;
                    wr_data_7_5<=de_cc_7.WR_DATA;
                    wr_vld_7_5<=de_cc_7.WR_VLD;
                    data_status_7_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[7]) begin
                    data_size_7_6<=de_cc_7.DATA_SIZE;
                    data_pri_7_6<=de_cc_7.DATA_PRIO;
                    wr_sop_7_6<=de_cc_7.WR_SOP;
                    wr_eop_7_6<=de_cc_7.WR_EOP;
                    wr_data_7_6<=de_cc_7.WR_DATA;
                    wr_vld_7_6<=de_cc_7.WR_VLD;
                    data_status_7_6<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_6<=de_cc_7.DATA_SIZE;
                    data_pri_7_6<=de_cc_7.DATA_PRIO;
                    wr_sop_7_6<=de_cc_7.WR_SOP;
                    wr_eop_7_6<=de_cc_7.WR_EOP;
                    wr_data_7_6<=de_cc_7.WR_DATA;
                    wr_vld_7_6<=de_cc_7.WR_VLD;
                    data_status_7_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[7]) begin
                    data_size_7_7<=de_cc_7.DATA_SIZE;
                    data_pri_7_7<=de_cc_7.DATA_PRIO;
                    wr_sop_7_7<=de_cc_7.WR_SOP;
                    wr_eop_7_7<=de_cc_7.WR_EOP;
                    wr_data_7_7<=de_cc_7.WR_DATA;
                    wr_vld_7_7<=de_cc_7.WR_VLD;
                    data_status_7_7<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_7<=de_cc_7.DATA_SIZE;
                    data_pri_7_7<=de_cc_7.DATA_PRIO;
                    wr_sop_7_7<=de_cc_7.WR_SOP;
                    wr_eop_7_7<=de_cc_7.WR_EOP;
                    wr_data_7_7<=de_cc_7.WR_DATA;
                    wr_vld_7_7<=de_cc_7.WR_VLD;
                    data_status_7_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[7]) begin
                    data_size_7_8<=de_cc_7.DATA_SIZE;
                    data_pri_7_8<=de_cc_7.DATA_PRIO;
                    wr_sop_7_8<=de_cc_7.WR_SOP;
                    wr_eop_7_8<=de_cc_7.WR_EOP;
                    wr_data_7_8<=de_cc_7.WR_DATA;
                    wr_vld_7_8<=de_cc_7.WR_VLD;
                    data_status_7_8<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_8<=de_cc_7.DATA_SIZE;
                    data_pri_7_8<=de_cc_7.DATA_PRIO;
                    wr_sop_7_8<=de_cc_7.WR_SOP;
                    wr_eop_7_8<=de_cc_7.WR_EOP;
                    wr_data_7_8<=de_cc_7.WR_DATA;
                    wr_vld_7_8<=de_cc_7.WR_VLD;
                    data_status_7_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[7]) begin
                    data_size_7_9<=de_cc_7.DATA_SIZE;
                    data_pri_7_9<=de_cc_7.DATA_PRIO;
                    wr_sop_7_9<=de_cc_7.WR_SOP;
                    wr_eop_7_9<=de_cc_7.WR_EOP;
                    wr_data_7_9<=de_cc_7.WR_DATA;
                    wr_vld_7_9<=de_cc_7.WR_VLD;
                    data_status_7_9<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_9<=de_cc_7.DATA_SIZE;
                    data_pri_7_9<=de_cc_7.DATA_PRIO;
                    wr_sop_7_9<=de_cc_7.WR_SOP;
                    wr_eop_7_9<=de_cc_7.WR_EOP;
                    wr_data_7_9<=de_cc_7.WR_DATA;
                    wr_vld_7_9<=de_cc_7.WR_VLD;
                    data_status_7_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[7]) begin
                    data_size_7_10<=de_cc_7.DATA_SIZE;
                    data_pri_7_10<=de_cc_7.DATA_PRIO;
                    wr_sop_7_10<=de_cc_7.WR_SOP;
                    wr_eop_7_10<=de_cc_7.WR_EOP;
                    wr_data_7_10<=de_cc_7.WR_DATA;
                    wr_vld_7_10<=de_cc_7.WR_VLD;
                    data_status_7_10<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_10<=de_cc_7.DATA_SIZE;
                    data_pri_7_10<=de_cc_7.DATA_PRIO;
                    wr_sop_7_10<=de_cc_7.WR_SOP;
                    wr_eop_7_10<=de_cc_7.WR_EOP;
                    wr_data_7_10<=de_cc_7.WR_DATA;
                    wr_vld_7_10<=de_cc_7.WR_VLD;
                    data_status_7_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[7]) begin
                    data_size_7_11<=de_cc_7.DATA_SIZE;
                    data_pri_7_11<=de_cc_7.DATA_PRIO;
                    wr_sop_7_11<=de_cc_7.WR_SOP;
                    wr_eop_7_11<=de_cc_7.WR_EOP;
                    wr_data_7_11<=de_cc_7.WR_DATA;
                    wr_vld_7_11<=de_cc_7.WR_VLD;
                    data_status_7_11<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_11<=de_cc_7.DATA_SIZE;
                    data_pri_7_11<=de_cc_7.DATA_PRIO;
                    wr_sop_7_11<=de_cc_7.WR_SOP;
                    wr_eop_7_11<=de_cc_7.WR_EOP;
                    wr_data_7_11<=de_cc_7.WR_DATA;
                    wr_vld_7_11<=de_cc_7.WR_VLD;
                    data_status_7_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[7]) begin
                    data_size_7_12<=de_cc_7.DATA_SIZE;
                    data_pri_7_12<=de_cc_7.DATA_PRIO;
                    wr_sop_7_12<=de_cc_7.WR_SOP;
                    wr_eop_7_12<=de_cc_7.WR_EOP;
                    wr_data_7_12<=de_cc_7.WR_DATA;
                    wr_vld_7_12<=de_cc_7.WR_VLD;
                    data_status_7_12<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_12<=de_cc_7.DATA_SIZE;
                    data_pri_7_12<=de_cc_7.DATA_PRIO;
                    wr_sop_7_12<=de_cc_7.WR_SOP;
                    wr_eop_7_12<=de_cc_7.WR_EOP;
                    wr_data_7_12<=de_cc_7.WR_DATA;
                    wr_vld_7_12<=de_cc_7.WR_VLD;
                    data_status_7_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[7]) begin
                    data_size_7_13<=de_cc_7.DATA_SIZE;
                    data_pri_7_13<=de_cc_7.DATA_PRIO;
                    wr_sop_7_13<=de_cc_7.WR_SOP;
                    wr_eop_7_13<=de_cc_7.WR_EOP;
                    wr_data_7_13<=de_cc_7.WR_DATA;
                    wr_vld_7_13<=de_cc_7.WR_VLD;
                    data_status_7_13<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_13<=de_cc_7.DATA_SIZE;
                    data_pri_7_13<=de_cc_7.DATA_PRIO;
                    wr_sop_7_13<=de_cc_7.WR_SOP;
                    wr_eop_7_13<=de_cc_7.WR_EOP;
                    wr_data_7_13<=de_cc_7.WR_DATA;
                    wr_vld_7_13<=de_cc_7.WR_VLD;
                    data_status_7_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[7]) begin
                    data_size_7_14<=de_cc_7.DATA_SIZE;
                    data_pri_7_14<=de_cc_7.DATA_PRIO;
                    wr_sop_7_14<=de_cc_7.WR_SOP;
                    wr_eop_7_14<=de_cc_7.WR_EOP;
                    wr_data_7_14<=de_cc_7.WR_DATA;
                    wr_vld_7_14<=de_cc_7.WR_VLD;
                    data_status_7_14<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_14<=de_cc_7.DATA_SIZE;
                    data_pri_7_14<=de_cc_7.DATA_PRIO;
                    wr_sop_7_14<=de_cc_7.WR_SOP;
                    wr_eop_7_14<=de_cc_7.WR_EOP;
                    wr_data_7_14<=de_cc_7.WR_DATA;
                    wr_vld_7_14<=de_cc_7.WR_VLD;
                    data_status_7_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[7]) begin
                    data_size_7_15<=de_cc_7.DATA_SIZE;
                    data_pri_7_15<=de_cc_7.DATA_PRIO;
                    wr_sop_7_15<=de_cc_7.WR_SOP;
                    wr_eop_7_15<=de_cc_7.WR_EOP;
                    wr_data_7_15<=de_cc_7.WR_DATA;
                    wr_vld_7_15<=de_cc_7.WR_VLD;
                    data_status_7_15<=1'b1;
                end
                else if(huan_cun[7]) begin
                    data_size_7_15<=de_cc_7.DATA_SIZE;
                    data_pri_7_15<=de_cc_7.DATA_PRIO;
                    wr_sop_7_15<=de_cc_7.WR_SOP;
                    wr_eop_7_15<=de_cc_7.WR_EOP;
                    wr_data_7_15<=de_cc_7.WR_DATA;
                    wr_vld_7_15<=de_cc_7.WR_VLD;
                    data_status_7_15<=1'b0;
                end
            end
            default:begin
                data_size_7_0<=11'd0;
                data_size_7_1<=11'd0;
                data_size_7_2<=11'd0;
                data_size_7_3<=11'd0;
                data_size_7_4<=11'd0;
                data_size_7_5<=11'd0;
                data_size_7_6<=11'd0;
                data_size_7_7<=11'd0;
                data_size_7_8<=11'd0;
                data_size_7_9<=11'd0;
                data_size_7_10<=11'd0;
                data_size_7_11<=11'd0;
                data_size_7_12<=11'd0;
                data_size_7_13<=11'd0;
                data_size_7_14<=11'd0;
                data_size_7_15<=11'd0;
                data_pri_7_0<=3'd0;
                data_pri_7_1<=3'd0;
                data_pri_7_2<=3'd0;
                data_pri_7_3<=3'd0;
                data_pri_7_4<=3'd0;
                data_pri_7_5<=3'd0;
                data_pri_7_6<=3'd0;
                data_pri_7_7<=3'd0;
                data_pri_7_8<=3'd0;
                data_pri_7_9<=3'd0;
                data_pri_7_10<=3'd0;
                data_pri_7_11<=3'd0;
                data_pri_7_12<=3'd0;
                data_pri_7_13<=3'd0;
                data_pri_7_14<=3'd0;
                data_pri_7_15<=3'd0;
                wr_sop_7_0<=1'b0;
                wr_sop_7_1<=1'b0;
                wr_sop_7_2<=1'b0;
                wr_sop_7_3<=1'b0;
                wr_sop_7_4<=1'b0;
                wr_sop_7_5<=1'b0;
                wr_sop_7_6<=1'b0;
                wr_sop_7_7<=1'b0;
                wr_sop_7_8<=1'b0;
                wr_sop_7_9<=1'b0;
                wr_sop_7_10<=1'b0;
                wr_sop_7_11<=1'b0;
                wr_sop_7_12<=1'b0;
                wr_sop_7_13<=1'b0;
                wr_sop_7_14<=1'b0;
                wr_sop_7_15<=1'b0;
                wr_eop_7_0<=1'b0;
                wr_eop_7_1<=1'b0;
                wr_eop_7_2<=1'b0;
                wr_eop_7_3<=1'b0;
                wr_eop_7_4<=1'b0;
                wr_eop_7_5<=1'b0;
                wr_eop_7_6<=1'b0;
                wr_eop_7_7<=1'b0;
                wr_eop_7_8<=1'b0;
                wr_eop_7_9<=1'b0;
                wr_eop_7_10<=1'b0;
                wr_eop_7_11<=1'b0;
                wr_eop_7_12<=1'b0;
                wr_eop_7_13<=1'b0;
                wr_eop_7_14<=1'b0;
                wr_eop_7_15<=1'b0;
                wr_data_7_0<=36'd0;
                wr_data_7_1<=36'd0;
                wr_data_7_2<=36'd0;
                wr_data_7_3<=36'd0;
                wr_data_7_4<=36'd0;
                wr_data_7_5<=36'd0;
                wr_data_7_6<=36'd0;
                wr_data_7_7<=36'd0;
                wr_data_7_8<=36'd0;
                wr_data_7_9<=36'd0;
                wr_data_7_10<=36'd0;
                wr_data_7_11<=36'd0;
                wr_data_7_12<=36'd0;
                wr_data_7_13<=36'd0;
                wr_data_7_14<=36'd0;
                wr_data_7_15<=36'd0;
                wr_vld_7_0<=1'b0;
                wr_vld_7_1<=1'b0;
                wr_vld_7_2<=1'b0;
                wr_vld_7_3<=1'b0;
                wr_vld_7_4<=1'b0;
                wr_vld_7_5<=1'b0;
                wr_vld_7_6<=1'b0;
                wr_vld_7_7<=1'b0;
                wr_vld_7_8<=1'b0;
                wr_vld_7_9<=1'b0;
                wr_vld_7_10<=1'b0;
                wr_vld_7_11<=1'b0;
                wr_vld_7_12<=1'b0;
                wr_vld_7_13<=1'b0;
                wr_vld_7_14<=1'b0;
                wr_vld_7_15<=1'b0;                   
                data_status_7_0<=1'b0;
                data_status_7_1<=1'b0;
                data_status_7_2<=1'b0;
                data_status_7_3<=1'b0;
                data_status_7_4<=1'b0;
                data_status_7_5<=1'b0;
                data_status_7_6<=1'b0;
                data_status_7_7<=1'b0;
                data_status_7_8<=1'b0;
                data_status_7_9<=1'b0;
                data_status_7_10<=1'b0;
                data_status_7_11<=1'b0;
                data_status_7_12<=1'b0;
                data_status_7_13<=1'b0;
                data_status_7_14<=1'b0;
                data_status_7_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_8_0<=11'd0;
        data_size_8_1<=11'd0;
        data_size_8_2<=11'd0;
        data_size_8_3<=11'd0;
        data_size_8_4<=11'd0;
        data_size_8_5<=11'd0;
        data_size_8_6<=11'd0;
        data_size_8_7<=11'd0;
        data_size_8_8<=11'd0;
        data_size_8_9<=11'd0;
        data_size_8_10<=11'd0;
        data_size_8_11<=11'd0;
        data_size_8_12<=11'd0;
        data_size_8_13<=11'd0;
        data_size_8_14<=11'd0;
        data_size_8_15<=11'd0;
        data_pri_8_0<=3'd0;
        data_pri_8_1<=3'd0;
        data_pri_8_2<=3'd0;
        data_pri_8_3<=3'd0;
        data_pri_8_4<=3'd0;
        data_pri_8_5<=3'd0;
        data_pri_8_6<=3'd0;
        data_pri_8_7<=3'd0;
        data_pri_8_8<=3'd0;
        data_pri_8_9<=3'd0;
        data_pri_8_10<=3'd0;
        data_pri_8_11<=3'd0;
        data_pri_8_12<=3'd0;
        data_pri_8_13<=3'd0;
        data_pri_8_14<=3'd0;
        data_pri_8_15<=3'd0;
        wr_sop_8_0<=1'b0;
        wr_sop_8_1<=1'b0;
        wr_sop_8_2<=1'b0;
        wr_sop_8_3<=1'b0;
        wr_sop_8_4<=1'b0;
        wr_sop_8_5<=1'b0;
        wr_sop_8_6<=1'b0;
        wr_sop_8_7<=1'b0;
        wr_sop_8_8<=1'b0;
        wr_sop_8_9<=1'b0;
        wr_sop_8_10<=1'b0;
        wr_sop_8_11<=1'b0;
        wr_sop_8_12<=1'b0;
        wr_sop_8_13<=1'b0;
        wr_sop_8_14<=1'b0;
        wr_sop_8_15<=1'b0;
        wr_eop_8_0<=1'b0;
        wr_eop_8_1<=1'b0;
        wr_eop_8_2<=1'b0;
        wr_eop_8_3<=1'b0;
        wr_eop_8_4<=1'b0;
        wr_eop_8_5<=1'b0;
        wr_eop_8_6<=1'b0;
        wr_eop_8_7<=1'b0;
        wr_eop_8_8<=1'b0;
        wr_eop_8_9<=1'b0;
        wr_eop_8_10<=1'b0;
        wr_eop_8_11<=1'b0;
        wr_eop_8_12<=1'b0;
        wr_eop_8_13<=1'b0;
        wr_eop_8_14<=1'b0;
        wr_eop_8_15<=1'b0;
        wr_data_8_0<=36'd0;
        wr_data_8_1<=36'd0;
        wr_data_8_2<=36'd0;
        wr_data_8_3<=36'd0;
        wr_data_8_4<=36'd0;
        wr_data_8_5<=36'd0;
        wr_data_8_6<=36'd0;
        wr_data_8_7<=36'd0;
        wr_data_8_8<=36'd0;
        wr_data_8_9<=36'd0;
        wr_data_8_10<=36'd0;
        wr_data_8_11<=36'd0;
        wr_data_8_12<=36'd0;
        wr_data_8_13<=36'd0;
        wr_data_8_14<=36'd0;
        wr_data_8_15<=36'd0;
        wr_vld_8_0<=1'b0;
        wr_vld_8_1<=1'b0;
        wr_vld_8_2<=1'b0;
        wr_vld_8_3<=1'b0;
        wr_vld_8_4<=1'b0;
        wr_vld_8_5<=1'b0;
        wr_vld_8_6<=1'b0;
        wr_vld_8_7<=1'b0;
        wr_vld_8_8<=1'b0;
        wr_vld_8_9<=1'b0;
        wr_vld_8_10<=1'b0;
        wr_vld_8_11<=1'b0;
        wr_vld_8_12<=1'b0;
        wr_vld_8_13<=1'b0;
        wr_vld_8_14<=1'b0;
        wr_vld_8_15<=1'b0;                   
        data_status_8_0<=1'b0;
        data_status_8_1<=1'b0;
        data_status_8_2<=1'b0;
        data_status_8_3<=1'b0;
        data_status_8_4<=1'b0;
        data_status_8_5<=1'b0;
        data_status_8_6<=1'b0;
        data_status_8_7<=1'b0;
        data_status_8_8<=1'b0;
        data_status_8_9<=1'b0;
        data_status_8_10<=1'b0;
        data_status_8_11<=1'b0;
        data_status_8_12<=1'b0;
        data_status_8_13<=1'b0;
        data_status_8_14<=1'b0;
        data_status_8_15<=1'b0;
    end
    else if(REQ8_1)begin
        case(de_cc_8.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[8]) begin
                    data_size_8_0<=de_cc_8.DATA_SIZE;
                    data_pri_8_0<=de_cc_8.DATA_PRIO;
                    wr_sop_8_0<=de_cc_8.WR_SOP;
                    wr_eop_8_0<=de_cc_8.WR_EOP;
                    wr_data_8_0<=de_cc_8.WR_DATA;
                    wr_vld_8_0<=de_cc_8.WR_VLD;
                    data_status_8_0<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_0<=de_cc_8.DATA_SIZE;
                    data_pri_8_0<=de_cc_8.DATA_PRIO;
                    wr_sop_8_0<=de_cc_8.WR_SOP;
                    wr_eop_8_0<=de_cc_8.WR_EOP;
                    wr_data_8_0<=de_cc_8.WR_DATA;
                    wr_vld_8_0<=de_cc_8.WR_VLD;
                    data_status_8_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[8]) begin
                    data_size_8_1<=de_cc_8.DATA_SIZE;
                    data_pri_8_1<=de_cc_8.DATA_PRIO;
                    wr_sop_8_1<=de_cc_8.WR_SOP;
                    wr_eop_8_1<=de_cc_8.WR_EOP;
                    wr_data_8_1<=de_cc_8.WR_DATA;
                    wr_vld_8_1<=de_cc_8.WR_VLD;
                    data_status_8_1<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_1<=de_cc_8.DATA_SIZE;
                    data_pri_8_1<=de_cc_8.DATA_PRIO;
                    wr_sop_8_1<=de_cc_8.WR_SOP;
                    wr_eop_8_1<=de_cc_8.WR_EOP;
                    wr_data_8_1<=de_cc_8.WR_DATA;
                    wr_vld_8_1<=de_cc_8.WR_VLD;
                    data_status_8_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[8]) begin
                    data_size_8_2<=de_cc_8.DATA_SIZE;
                    data_pri_8_2<=de_cc_8.DATA_PRIO;
                    wr_sop_8_2<=de_cc_8.WR_SOP;
                    wr_eop_8_2<=de_cc_8.WR_EOP;
                    wr_data_8_2<=de_cc_8.WR_DATA;
                    wr_vld_8_2<=de_cc_8.WR_VLD;
                    data_status_8_2<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_2<=de_cc_8.DATA_SIZE;
                    data_pri_8_2<=de_cc_8.DATA_PRIO;
                    wr_sop_8_2<=de_cc_8.WR_SOP;
                    wr_eop_8_2<=de_cc_8.WR_EOP;
                    wr_data_8_2<=de_cc_8.WR_DATA;
                    wr_vld_8_2<=de_cc_8.WR_VLD;
                    data_status_8_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[8]) begin
                    data_size_8_3<=de_cc_8.DATA_SIZE;
                    data_pri_8_3<=de_cc_8.DATA_PRIO;
                    wr_sop_8_3<=de_cc_8.WR_SOP;
                    wr_eop_8_3<=de_cc_8.WR_EOP;
                    wr_data_8_3<=de_cc_8.WR_DATA;
                    wr_vld_8_3<=de_cc_8.WR_VLD;
                    data_status_8_3<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_3<=de_cc_8.DATA_SIZE;
                    data_pri_8_3<=de_cc_8.DATA_PRIO;
                    wr_sop_8_3<=de_cc_8.WR_SOP;
                    wr_eop_8_3<=de_cc_8.WR_EOP;
                    wr_data_8_3<=de_cc_8.WR_DATA;
                    wr_vld_8_3<=de_cc_8.WR_VLD;
                    data_status_8_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[8]) begin
                    data_size_8_4<=de_cc_8.DATA_SIZE;
                    data_pri_8_4<=de_cc_8.DATA_PRIO;
                    wr_sop_8_4<=de_cc_8.WR_SOP;
                    wr_eop_8_4<=de_cc_8.WR_EOP;
                    wr_data_8_4<=de_cc_8.WR_DATA;
                    wr_vld_8_4<=de_cc_8.WR_VLD;
                    data_status_8_4<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_4<=de_cc_8.DATA_SIZE;
                    data_pri_8_4<=de_cc_8.DATA_PRIO;
                    wr_sop_8_4<=de_cc_8.WR_SOP;
                    wr_eop_8_4<=de_cc_8.WR_EOP;
                    wr_data_8_4<=de_cc_8.WR_DATA;
                    wr_vld_8_4<=de_cc_8.WR_VLD;
                    data_status_8_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[8]) begin
                    data_size_8_5<=de_cc_8.DATA_SIZE;
                    data_pri_8_5<=de_cc_8.DATA_PRIO;
                    wr_sop_8_5<=de_cc_8.WR_SOP;
                    wr_eop_8_5<=de_cc_8.WR_EOP;
                    wr_data_8_5<=de_cc_8.WR_DATA;
                    wr_vld_8_5<=de_cc_8.WR_VLD;
                    data_status_8_5<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_5<=de_cc_8.DATA_SIZE;
                    data_pri_8_5<=de_cc_8.DATA_PRIO;
                    wr_sop_8_5<=de_cc_8.WR_SOP;
                    wr_eop_8_5<=de_cc_8.WR_EOP;
                    wr_data_8_5<=de_cc_8.WR_DATA;
                    wr_vld_8_5<=de_cc_8.WR_VLD;
                    data_status_8_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[8]) begin
                    data_size_8_6<=de_cc_8.DATA_SIZE;
                    data_pri_8_6<=de_cc_8.DATA_PRIO;
                    wr_sop_8_6<=de_cc_8.WR_SOP;
                    wr_eop_8_6<=de_cc_8.WR_EOP;
                    wr_data_8_6<=de_cc_8.WR_DATA;
                    wr_vld_8_6<=de_cc_8.WR_VLD;
                    data_status_8_6<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_6<=de_cc_8.DATA_SIZE;
                    data_pri_8_6<=de_cc_8.DATA_PRIO;
                    wr_sop_8_6<=de_cc_8.WR_SOP;
                    wr_eop_8_6<=de_cc_8.WR_EOP;
                    wr_data_8_6<=de_cc_8.WR_DATA;
                    wr_vld_8_6<=de_cc_8.WR_VLD;
                    data_status_8_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[8]) begin
                    data_size_8_7<=de_cc_8.DATA_SIZE;
                    data_pri_8_7<=de_cc_8.DATA_PRIO;
                    wr_sop_8_7<=de_cc_8.WR_SOP;
                    wr_eop_8_7<=de_cc_8.WR_EOP;
                    wr_data_8_7<=de_cc_8.WR_DATA;
                    wr_vld_8_7<=de_cc_8.WR_VLD;
                    data_status_8_7<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_7<=de_cc_8.DATA_SIZE;
                    data_pri_8_7<=de_cc_8.DATA_PRIO;
                    wr_sop_8_7<=de_cc_8.WR_SOP;
                    wr_eop_8_7<=de_cc_8.WR_EOP;
                    wr_data_8_7<=de_cc_8.WR_DATA;
                    wr_vld_8_7<=de_cc_8.WR_VLD;
                    data_status_8_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[8]) begin
                    data_size_8_8<=de_cc_8.DATA_SIZE;
                    data_pri_8_8<=de_cc_8.DATA_PRIO;
                    wr_sop_8_8<=de_cc_8.WR_SOP;
                    wr_eop_8_8<=de_cc_8.WR_EOP;
                    wr_data_8_8<=de_cc_8.WR_DATA;
                    wr_vld_8_8<=de_cc_8.WR_VLD;
                    data_status_8_8<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_8<=de_cc_8.DATA_SIZE;
                    data_pri_8_8<=de_cc_8.DATA_PRIO;
                    wr_sop_8_8<=de_cc_8.WR_SOP;
                    wr_eop_8_8<=de_cc_8.WR_EOP;
                    wr_data_8_8<=de_cc_8.WR_DATA;
                    wr_vld_8_8<=de_cc_8.WR_VLD;
                    data_status_8_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[8]) begin
                    data_size_8_9<=de_cc_8.DATA_SIZE;
                    data_pri_8_9<=de_cc_8.DATA_PRIO;
                    wr_sop_8_9<=de_cc_8.WR_SOP;
                    wr_eop_8_9<=de_cc_8.WR_EOP;
                    wr_data_8_9<=de_cc_8.WR_DATA;
                    wr_vld_8_9<=de_cc_8.WR_VLD;
                    data_status_8_9<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_9<=de_cc_8.DATA_SIZE;
                    data_pri_8_9<=de_cc_8.DATA_PRIO;
                    wr_sop_8_9<=de_cc_8.WR_SOP;
                    wr_eop_8_9<=de_cc_8.WR_EOP;
                    wr_data_8_9<=de_cc_8.WR_DATA;
                    wr_vld_8_9<=de_cc_8.WR_VLD;
                    data_status_8_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[8]) begin
                    data_size_8_10<=de_cc_8.DATA_SIZE;
                    data_pri_8_10<=de_cc_8.DATA_PRIO;
                    wr_sop_8_10<=de_cc_8.WR_SOP;
                    wr_eop_8_10<=de_cc_8.WR_EOP;
                    wr_data_8_10<=de_cc_8.WR_DATA;
                    wr_vld_8_10<=de_cc_8.WR_VLD;
                    data_status_8_10<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_10<=de_cc_8.DATA_SIZE;
                    data_pri_8_10<=de_cc_8.DATA_PRIO;
                    wr_sop_8_10<=de_cc_8.WR_SOP;
                    wr_eop_8_10<=de_cc_8.WR_EOP;
                    wr_data_8_10<=de_cc_8.WR_DATA;
                    wr_vld_8_10<=de_cc_8.WR_VLD;
                    data_status_8_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[8]) begin
                    data_size_8_11<=de_cc_8.DATA_SIZE;
                    data_pri_8_11<=de_cc_8.DATA_PRIO;
                    wr_sop_8_11<=de_cc_8.WR_SOP;
                    wr_eop_8_11<=de_cc_8.WR_EOP;
                    wr_data_8_11<=de_cc_8.WR_DATA;
                    wr_vld_8_11<=de_cc_8.WR_VLD;
                    data_status_8_11<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_11<=de_cc_8.DATA_SIZE;
                    data_pri_8_11<=de_cc_8.DATA_PRIO;
                    wr_sop_8_11<=de_cc_8.WR_SOP;
                    wr_eop_8_11<=de_cc_8.WR_EOP;
                    wr_data_8_11<=de_cc_8.WR_DATA;
                    wr_vld_8_11<=de_cc_8.WR_VLD;
                    data_status_8_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[8]) begin
                    data_size_8_12<=de_cc_8.DATA_SIZE;
                    data_pri_8_12<=de_cc_8.DATA_PRIO;
                    wr_sop_8_12<=de_cc_8.WR_SOP;
                    wr_eop_8_12<=de_cc_8.WR_EOP;
                    wr_data_8_12<=de_cc_8.WR_DATA;
                    wr_vld_8_12<=de_cc_8.WR_VLD;
                    data_status_8_12<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_12<=de_cc_8.DATA_SIZE;
                    data_pri_8_12<=de_cc_8.DATA_PRIO;
                    wr_sop_8_12<=de_cc_8.WR_SOP;
                    wr_eop_8_12<=de_cc_8.WR_EOP;
                    wr_data_8_12<=de_cc_8.WR_DATA;
                    wr_vld_8_12<=de_cc_8.WR_VLD;
                    data_status_8_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[8]) begin
                    data_size_8_13<=de_cc_8.DATA_SIZE;
                    data_pri_8_13<=de_cc_8.DATA_PRIO;
                    wr_sop_8_13<=de_cc_8.WR_SOP;
                    wr_eop_8_13<=de_cc_8.WR_EOP;
                    wr_data_8_13<=de_cc_8.WR_DATA;
                    wr_vld_8_13<=de_cc_8.WR_VLD;
                    data_status_8_13<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_13<=de_cc_8.DATA_SIZE;
                    data_pri_8_13<=de_cc_8.DATA_PRIO;
                    wr_sop_8_13<=de_cc_8.WR_SOP;
                    wr_eop_8_13<=de_cc_8.WR_EOP;
                    wr_data_8_13<=de_cc_8.WR_DATA;
                    wr_vld_8_13<=de_cc_8.WR_VLD;
                    data_status_8_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[8]) begin
                    data_size_8_14<=de_cc_8.DATA_SIZE;
                    data_pri_8_14<=de_cc_8.DATA_PRIO;
                    wr_sop_8_14<=de_cc_8.WR_SOP;
                    wr_eop_8_14<=de_cc_8.WR_EOP;
                    wr_data_8_14<=de_cc_8.WR_DATA;
                    wr_vld_8_14<=de_cc_8.WR_VLD;
                    data_status_8_14<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_14<=de_cc_8.DATA_SIZE;
                    data_pri_8_14<=de_cc_8.DATA_PRIO;
                    wr_sop_8_14<=de_cc_8.WR_SOP;
                    wr_eop_8_14<=de_cc_8.WR_EOP;
                    wr_data_8_14<=de_cc_8.WR_DATA;
                    wr_vld_8_14<=de_cc_8.WR_VLD;
                    data_status_8_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[8]) begin
                    data_size_8_15<=de_cc_8.DATA_SIZE;
                    data_pri_8_15<=de_cc_8.DATA_PRIO;
                    wr_sop_8_15<=de_cc_8.WR_SOP;
                    wr_eop_8_15<=de_cc_8.WR_EOP;
                    wr_data_8_15<=de_cc_8.WR_DATA;
                    wr_vld_8_15<=de_cc_8.WR_VLD;
                    data_status_8_15<=1'b1;
                end
                else if(huan_cun[8]) begin
                    data_size_8_15<=de_cc_8.DATA_SIZE;
                    data_pri_8_15<=de_cc_8.DATA_PRIO;
                    wr_sop_8_15<=de_cc_8.WR_SOP;
                    wr_eop_8_15<=de_cc_8.WR_EOP;
                    wr_data_8_15<=de_cc_8.WR_DATA;
                    wr_vld_8_15<=de_cc_8.WR_VLD;
                    data_status_8_15<=1'b0;
                end
            end
            default:begin
                data_size_8_0<=11'd0;
                data_size_8_1<=11'd0;
                data_size_8_2<=11'd0;
                data_size_8_3<=11'd0;
                data_size_8_4<=11'd0;
                data_size_8_5<=11'd0;
                data_size_8_6<=11'd0;
                data_size_8_7<=11'd0;
                data_size_8_8<=11'd0;
                data_size_8_9<=11'd0;
                data_size_8_10<=11'd0;
                data_size_8_11<=11'd0;
                data_size_8_12<=11'd0;
                data_size_8_13<=11'd0;
                data_size_8_14<=11'd0;
                data_size_8_15<=11'd0;
                data_pri_8_0<=3'd0;
                data_pri_8_1<=3'd0;
                data_pri_8_2<=3'd0;
                data_pri_8_3<=3'd0;
                data_pri_8_4<=3'd0;
                data_pri_8_5<=3'd0;
                data_pri_8_6<=3'd0;
                data_pri_8_7<=3'd0;
                data_pri_8_8<=3'd0;
                data_pri_8_9<=3'd0;
                data_pri_8_10<=3'd0;
                data_pri_8_11<=3'd0;
                data_pri_8_12<=3'd0;
                data_pri_8_13<=3'd0;
                data_pri_8_14<=3'd0;
                data_pri_8_15<=3'd0;
                wr_sop_8_0<=1'b0;
                wr_sop_8_1<=1'b0;
                wr_sop_8_2<=1'b0;
                wr_sop_8_3<=1'b0;
                wr_sop_8_4<=1'b0;
                wr_sop_8_5<=1'b0;
                wr_sop_8_6<=1'b0;
                wr_sop_8_7<=1'b0;
                wr_sop_8_8<=1'b0;
                wr_sop_8_9<=1'b0;
                wr_sop_8_10<=1'b0;
                wr_sop_8_11<=1'b0;
                wr_sop_8_12<=1'b0;
                wr_sop_8_13<=1'b0;
                wr_sop_8_14<=1'b0;
                wr_sop_8_15<=1'b0;
                wr_eop_8_0<=1'b0;
                wr_eop_8_1<=1'b0;
                wr_eop_8_2<=1'b0;
                wr_eop_8_3<=1'b0;
                wr_eop_8_4<=1'b0;
                wr_eop_8_5<=1'b0;
                wr_eop_8_6<=1'b0;
                wr_eop_8_7<=1'b0;
                wr_eop_8_8<=1'b0;
                wr_eop_8_9<=1'b0;
                wr_eop_8_10<=1'b0;
                wr_eop_8_11<=1'b0;
                wr_eop_8_12<=1'b0;
                wr_eop_8_13<=1'b0;
                wr_eop_8_14<=1'b0;
                wr_eop_8_15<=1'b0;
                wr_data_8_0<=36'd0;
                wr_data_8_1<=36'd0;
                wr_data_8_2<=36'd0;
                wr_data_8_3<=36'd0;
                wr_data_8_4<=36'd0;
                wr_data_8_5<=36'd0;
                wr_data_8_6<=36'd0;
                wr_data_8_7<=36'd0;
                wr_data_8_8<=36'd0;
                wr_data_8_9<=36'd0;
                wr_data_8_10<=36'd0;
                wr_data_8_11<=36'd0;
                wr_data_8_12<=36'd0;
                wr_data_8_13<=36'd0;
                wr_data_8_14<=36'd0;
                wr_data_8_15<=36'd0;
                wr_vld_8_0<=1'b0;
                wr_vld_8_1<=1'b0;
                wr_vld_8_2<=1'b0;
                wr_vld_8_3<=1'b0;
                wr_vld_8_4<=1'b0;
                wr_vld_8_5<=1'b0;
                wr_vld_8_6<=1'b0;
                wr_vld_8_7<=1'b0;
                wr_vld_8_8<=1'b0;
                wr_vld_8_9<=1'b0;
                wr_vld_8_10<=1'b0;
                wr_vld_8_11<=1'b0;
                wr_vld_8_12<=1'b0;
                wr_vld_8_13<=1'b0;
                wr_vld_8_14<=1'b0;
                wr_vld_8_15<=1'b0;                   
                data_status_8_0<=1'b0;
                data_status_8_1<=1'b0;
                data_status_8_2<=1'b0;
                data_status_8_3<=1'b0;
                data_status_8_4<=1'b0;
                data_status_8_5<=1'b0;
                data_status_8_6<=1'b0;
                data_status_8_7<=1'b0;
                data_status_8_8<=1'b0;
                data_status_8_9<=1'b0;
                data_status_8_10<=1'b0;
                data_status_8_11<=1'b0;
                data_status_8_12<=1'b0;
                data_status_8_13<=1'b0;
                data_status_8_14<=1'b0;
                data_status_8_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_9_0<=11'd0;
        data_size_9_1<=11'd0;
        data_size_9_2<=11'd0;
        data_size_9_3<=11'd0;
        data_size_9_4<=11'd0;
        data_size_9_5<=11'd0;
        data_size_9_6<=11'd0;
        data_size_9_7<=11'd0;
        data_size_9_8<=11'd0;
        data_size_9_9<=11'd0;
        data_size_9_10<=11'd0;
        data_size_9_11<=11'd0;
        data_size_9_12<=11'd0;
        data_size_9_13<=11'd0;
        data_size_9_14<=11'd0;
        data_size_9_15<=11'd0;
        data_pri_9_0<=3'd0;
        data_pri_9_1<=3'd0;
        data_pri_9_2<=3'd0;
        data_pri_9_3<=3'd0;
        data_pri_9_4<=3'd0;
        data_pri_9_5<=3'd0;
        data_pri_9_6<=3'd0;
        data_pri_9_7<=3'd0;
        data_pri_9_8<=3'd0;
        data_pri_9_9<=3'd0;
        data_pri_9_10<=3'd0;
        data_pri_9_11<=3'd0;
        data_pri_9_12<=3'd0;
        data_pri_9_13<=3'd0;
        data_pri_9_14<=3'd0;
        data_pri_9_15<=3'd0;
        wr_sop_9_0<=1'b0;
        wr_sop_9_1<=1'b0;
        wr_sop_9_2<=1'b0;
        wr_sop_9_3<=1'b0;
        wr_sop_9_4<=1'b0;
        wr_sop_9_5<=1'b0;
        wr_sop_9_6<=1'b0;
        wr_sop_9_7<=1'b0;
        wr_sop_9_8<=1'b0;
        wr_sop_9_9<=1'b0;
        wr_sop_9_10<=1'b0;
        wr_sop_9_11<=1'b0;
        wr_sop_9_12<=1'b0;
        wr_sop_9_13<=1'b0;
        wr_sop_9_14<=1'b0;
        wr_sop_9_15<=1'b0;
        wr_eop_9_0<=1'b0;
        wr_eop_9_1<=1'b0;
        wr_eop_9_2<=1'b0;
        wr_eop_9_3<=1'b0;
        wr_eop_9_4<=1'b0;
        wr_eop_9_5<=1'b0;
        wr_eop_9_6<=1'b0;
        wr_eop_9_7<=1'b0;
        wr_eop_9_8<=1'b0;
        wr_eop_9_9<=1'b0;
        wr_eop_9_10<=1'b0;
        wr_eop_9_11<=1'b0;
        wr_eop_9_12<=1'b0;
        wr_eop_9_13<=1'b0;
        wr_eop_9_14<=1'b0;
        wr_eop_9_15<=1'b0;
        wr_data_9_0<=36'd0;
        wr_data_9_1<=36'd0;
        wr_data_9_2<=36'd0;
        wr_data_9_3<=36'd0;
        wr_data_9_4<=36'd0;
        wr_data_9_5<=36'd0;
        wr_data_9_6<=36'd0;
        wr_data_9_7<=36'd0;
        wr_data_9_8<=36'd0;
        wr_data_9_9<=36'd0;
        wr_data_9_10<=36'd0;
        wr_data_9_11<=36'd0;
        wr_data_9_12<=36'd0;
        wr_data_9_13<=36'd0;
        wr_data_9_14<=36'd0;
        wr_data_9_15<=36'd0;
        wr_vld_9_0<=1'b0;
        wr_vld_9_1<=1'b0;
        wr_vld_9_2<=1'b0;
        wr_vld_9_3<=1'b0;
        wr_vld_9_4<=1'b0;
        wr_vld_9_5<=1'b0;
        wr_vld_9_6<=1'b0;
        wr_vld_9_7<=1'b0;
        wr_vld_9_8<=1'b0;
        wr_vld_9_9<=1'b0;
        wr_vld_9_10<=1'b0;
        wr_vld_9_11<=1'b0;
        wr_vld_9_12<=1'b0;
        wr_vld_9_13<=1'b0;
        wr_vld_9_14<=1'b0;
        wr_vld_9_15<=1'b0;                   
        data_status_9_0<=1'b0;
        data_status_9_1<=1'b0;
        data_status_9_2<=1'b0;
        data_status_9_3<=1'b0;
        data_status_9_4<=1'b0;
        data_status_9_5<=1'b0;
        data_status_9_6<=1'b0;
        data_status_9_7<=1'b0;
        data_status_9_8<=1'b0;
        data_status_9_9<=1'b0;
        data_status_9_10<=1'b0;
        data_status_9_11<=1'b0;
        data_status_9_12<=1'b0;
        data_status_9_13<=1'b0;
        data_status_9_14<=1'b0;
        data_status_9_15<=1'b0;
    end
    else if(REQ9_1)begin
        case(de_cc_9.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[9]) begin
                    data_size_9_0<=de_cc_9.DATA_SIZE;
                    data_pri_9_0<=de_cc_9.DATA_PRIO;
                    wr_sop_9_0<=de_cc_9.WR_SOP;
                    wr_eop_9_0<=de_cc_9.WR_EOP;
                    wr_data_9_0<=de_cc_9.WR_DATA;
                    wr_vld_9_0<=de_cc_9.WR_VLD;
                    data_status_9_0<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_0<=de_cc_9.DATA_SIZE;
                    data_pri_9_0<=de_cc_9.DATA_PRIO;
                    wr_sop_9_0<=de_cc_9.WR_SOP;
                    wr_eop_9_0<=de_cc_9.WR_EOP;
                    wr_data_9_0<=de_cc_9.WR_DATA;
                    wr_vld_9_0<=de_cc_9.WR_VLD;
                    data_status_9_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[9]) begin
                    data_size_9_1<=de_cc_9.DATA_SIZE;
                    data_pri_9_1<=de_cc_9.DATA_PRIO;
                    wr_sop_9_1<=de_cc_9.WR_SOP;
                    wr_eop_9_1<=de_cc_9.WR_EOP;
                    wr_data_9_1<=de_cc_9.WR_DATA;
                    wr_vld_9_1<=de_cc_9.WR_VLD;
                    data_status_9_1<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_1<=de_cc_9.DATA_SIZE;
                    data_pri_9_1<=de_cc_9.DATA_PRIO;
                    wr_sop_9_1<=de_cc_9.WR_SOP;
                    wr_eop_9_1<=de_cc_9.WR_EOP;
                    wr_data_9_1<=de_cc_9.WR_DATA;
                    wr_vld_9_1<=de_cc_9.WR_VLD;
                    data_status_9_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[9]) begin
                    data_size_9_2<=de_cc_9.DATA_SIZE;
                    data_pri_9_2<=de_cc_9.DATA_PRIO;
                    wr_sop_9_2<=de_cc_9.WR_SOP;
                    wr_eop_9_2<=de_cc_9.WR_EOP;
                    wr_data_9_2<=de_cc_9.WR_DATA;
                    wr_vld_9_2<=de_cc_9.WR_VLD;
                    data_status_9_2<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_2<=de_cc_9.DATA_SIZE;
                    data_pri_9_2<=de_cc_9.DATA_PRIO;
                    wr_sop_9_2<=de_cc_9.WR_SOP;
                    wr_eop_9_2<=de_cc_9.WR_EOP;
                    wr_data_9_2<=de_cc_9.WR_DATA;
                    wr_vld_9_2<=de_cc_9.WR_VLD;
                    data_status_9_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[9]) begin
                    data_size_9_3<=de_cc_9.DATA_SIZE;
                    data_pri_9_3<=de_cc_9.DATA_PRIO;
                    wr_sop_9_3<=de_cc_9.WR_SOP;
                    wr_eop_9_3<=de_cc_9.WR_EOP;
                    wr_data_9_3<=de_cc_9.WR_DATA;
                    wr_vld_9_3<=de_cc_9.WR_VLD;
                    data_status_9_3<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_3<=de_cc_9.DATA_SIZE;
                    data_pri_9_3<=de_cc_9.DATA_PRIO;
                    wr_sop_9_3<=de_cc_9.WR_SOP;
                    wr_eop_9_3<=de_cc_9.WR_EOP;
                    wr_data_9_3<=de_cc_9.WR_DATA;
                    wr_vld_9_3<=de_cc_9.WR_VLD;
                    data_status_9_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[9]) begin
                    data_size_9_4<=de_cc_9.DATA_SIZE;
                    data_pri_9_4<=de_cc_9.DATA_PRIO;
                    wr_sop_9_4<=de_cc_9.WR_SOP;
                    wr_eop_9_4<=de_cc_9.WR_EOP;
                    wr_data_9_4<=de_cc_9.WR_DATA;
                    wr_vld_9_4<=de_cc_9.WR_VLD;
                    data_status_9_4<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_4<=de_cc_9.DATA_SIZE;
                    data_pri_9_4<=de_cc_9.DATA_PRIO;
                    wr_sop_9_4<=de_cc_9.WR_SOP;
                    wr_eop_9_4<=de_cc_9.WR_EOP;
                    wr_data_9_4<=de_cc_9.WR_DATA;
                    wr_vld_9_4<=de_cc_9.WR_VLD;
                    data_status_9_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[9]) begin
                    data_size_9_5<=de_cc_9.DATA_SIZE;
                    data_pri_9_5<=de_cc_9.DATA_PRIO;
                    wr_sop_9_5<=de_cc_9.WR_SOP;
                    wr_eop_9_5<=de_cc_9.WR_EOP;
                    wr_data_9_5<=de_cc_9.WR_DATA;
                    wr_vld_9_5<=de_cc_9.WR_VLD;
                    data_status_9_5<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_5<=de_cc_9.DATA_SIZE;
                    data_pri_9_5<=de_cc_9.DATA_PRIO;
                    wr_sop_9_5<=de_cc_9.WR_SOP;
                    wr_eop_9_5<=de_cc_9.WR_EOP;
                    wr_data_9_5<=de_cc_9.WR_DATA;
                    wr_vld_9_5<=de_cc_9.WR_VLD;
                    data_status_9_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[9]) begin
                    data_size_9_6<=de_cc_9.DATA_SIZE;
                    data_pri_9_6<=de_cc_9.DATA_PRIO;
                    wr_sop_9_6<=de_cc_9.WR_SOP;
                    wr_eop_9_6<=de_cc_9.WR_EOP;
                    wr_data_9_6<=de_cc_9.WR_DATA;
                    wr_vld_9_6<=de_cc_9.WR_VLD;
                    data_status_9_6<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_6<=de_cc_9.DATA_SIZE;
                    data_pri_9_6<=de_cc_9.DATA_PRIO;
                    wr_sop_9_6<=de_cc_9.WR_SOP;
                    wr_eop_9_6<=de_cc_9.WR_EOP;
                    wr_data_9_6<=de_cc_9.WR_DATA;
                    wr_vld_9_6<=de_cc_9.WR_VLD;
                    data_status_9_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[9]) begin
                    data_size_9_7<=de_cc_9.DATA_SIZE;
                    data_pri_9_7<=de_cc_9.DATA_PRIO;
                    wr_sop_9_7<=de_cc_9.WR_SOP;
                    wr_eop_9_7<=de_cc_9.WR_EOP;
                    wr_data_9_7<=de_cc_9.WR_DATA;
                    wr_vld_9_7<=de_cc_9.WR_VLD;
                    data_status_9_7<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_7<=de_cc_9.DATA_SIZE;
                    data_pri_9_7<=de_cc_9.DATA_PRIO;
                    wr_sop_9_7<=de_cc_9.WR_SOP;
                    wr_eop_9_7<=de_cc_9.WR_EOP;
                    wr_data_9_7<=de_cc_9.WR_DATA;
                    wr_vld_9_7<=de_cc_9.WR_VLD;
                    data_status_9_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[9]) begin
                    data_size_9_8<=de_cc_9.DATA_SIZE;
                    data_pri_9_8<=de_cc_9.DATA_PRIO;
                    wr_sop_9_8<=de_cc_9.WR_SOP;
                    wr_eop_9_8<=de_cc_9.WR_EOP;
                    wr_data_9_8<=de_cc_9.WR_DATA;
                    wr_vld_9_8<=de_cc_9.WR_VLD;
                    data_status_9_8<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_8<=de_cc_9.DATA_SIZE;
                    data_pri_9_8<=de_cc_9.DATA_PRIO;
                    wr_sop_9_8<=de_cc_9.WR_SOP;
                    wr_eop_9_8<=de_cc_9.WR_EOP;
                    wr_data_9_8<=de_cc_9.WR_DATA;
                    wr_vld_9_8<=de_cc_9.WR_VLD;
                    data_status_9_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[9]) begin
                    data_size_9_9<=de_cc_9.DATA_SIZE;
                    data_pri_9_9<=de_cc_9.DATA_PRIO;
                    wr_sop_9_9<=de_cc_9.WR_SOP;
                    wr_eop_9_9<=de_cc_9.WR_EOP;
                    wr_data_9_9<=de_cc_9.WR_DATA;
                    wr_vld_9_9<=de_cc_9.WR_VLD;
                    data_status_9_9<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_9<=de_cc_9.DATA_SIZE;
                    data_pri_9_9<=de_cc_9.DATA_PRIO;
                    wr_sop_9_9<=de_cc_9.WR_SOP;
                    wr_eop_9_9<=de_cc_9.WR_EOP;
                    wr_data_9_9<=de_cc_9.WR_DATA;
                    wr_vld_9_9<=de_cc_9.WR_VLD;
                    data_status_9_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[9]) begin
                    data_size_9_10<=de_cc_9.DATA_SIZE;
                    data_pri_9_10<=de_cc_9.DATA_PRIO;
                    wr_sop_9_10<=de_cc_9.WR_SOP;
                    wr_eop_9_10<=de_cc_9.WR_EOP;
                    wr_data_9_10<=de_cc_9.WR_DATA;
                    wr_vld_9_10<=de_cc_9.WR_VLD;
                    data_status_9_10<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_10<=de_cc_9.DATA_SIZE;
                    data_pri_9_10<=de_cc_9.DATA_PRIO;
                    wr_sop_9_10<=de_cc_9.WR_SOP;
                    wr_eop_9_10<=de_cc_9.WR_EOP;
                    wr_data_9_10<=de_cc_9.WR_DATA;
                    wr_vld_9_10<=de_cc_9.WR_VLD;
                    data_status_9_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[9]) begin
                    data_size_9_11<=de_cc_9.DATA_SIZE;
                    data_pri_9_11<=de_cc_9.DATA_PRIO;
                    wr_sop_9_11<=de_cc_9.WR_SOP;
                    wr_eop_9_11<=de_cc_9.WR_EOP;
                    wr_data_9_11<=de_cc_9.WR_DATA;
                    wr_vld_9_11<=de_cc_9.WR_VLD;
                    data_status_9_11<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_11<=de_cc_9.DATA_SIZE;
                    data_pri_9_11<=de_cc_9.DATA_PRIO;
                    wr_sop_9_11<=de_cc_9.WR_SOP;
                    wr_eop_9_11<=de_cc_9.WR_EOP;
                    wr_data_9_11<=de_cc_9.WR_DATA;
                    wr_vld_9_11<=de_cc_9.WR_VLD;
                    data_status_9_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[9]) begin
                    data_size_9_12<=de_cc_9.DATA_SIZE;
                    data_pri_9_12<=de_cc_9.DATA_PRIO;
                    wr_sop_9_12<=de_cc_9.WR_SOP;
                    wr_eop_9_12<=de_cc_9.WR_EOP;
                    wr_data_9_12<=de_cc_9.WR_DATA;
                    wr_vld_9_12<=de_cc_9.WR_VLD;
                    data_status_9_12<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_12<=de_cc_9.DATA_SIZE;
                    data_pri_9_12<=de_cc_9.DATA_PRIO;
                    wr_sop_9_12<=de_cc_9.WR_SOP;
                    wr_eop_9_12<=de_cc_9.WR_EOP;
                    wr_data_9_12<=de_cc_9.WR_DATA;
                    wr_vld_9_12<=de_cc_9.WR_VLD;
                    data_status_9_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[9]) begin
                    data_size_9_13<=de_cc_9.DATA_SIZE;
                    data_pri_9_13<=de_cc_9.DATA_PRIO;
                    wr_sop_9_13<=de_cc_9.WR_SOP;
                    wr_eop_9_13<=de_cc_9.WR_EOP;
                    wr_data_9_13<=de_cc_9.WR_DATA;
                    wr_vld_9_13<=de_cc_9.WR_VLD;
                    data_status_9_13<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_13<=de_cc_9.DATA_SIZE;
                    data_pri_9_13<=de_cc_9.DATA_PRIO;
                    wr_sop_9_13<=de_cc_9.WR_SOP;
                    wr_eop_9_13<=de_cc_9.WR_EOP;
                    wr_data_9_13<=de_cc_9.WR_DATA;
                    wr_vld_9_13<=de_cc_9.WR_VLD;
                    data_status_9_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[9]) begin
                    data_size_9_14<=de_cc_9.DATA_SIZE;
                    data_pri_9_14<=de_cc_9.DATA_PRIO;
                    wr_sop_9_14<=de_cc_9.WR_SOP;
                    wr_eop_9_14<=de_cc_9.WR_EOP;
                    wr_data_9_14<=de_cc_9.WR_DATA;
                    wr_vld_9_14<=de_cc_9.WR_VLD;
                    data_status_9_14<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_14<=de_cc_9.DATA_SIZE;
                    data_pri_9_14<=de_cc_9.DATA_PRIO;
                    wr_sop_9_14<=de_cc_9.WR_SOP;
                    wr_eop_9_14<=de_cc_9.WR_EOP;
                    wr_data_9_14<=de_cc_9.WR_DATA;
                    wr_vld_9_14<=de_cc_9.WR_VLD;
                    data_status_9_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[9]) begin
                    data_size_9_15<=de_cc_9.DATA_SIZE;
                    data_pri_9_15<=de_cc_9.DATA_PRIO;
                    wr_sop_9_15<=de_cc_9.WR_SOP;
                    wr_eop_9_15<=de_cc_9.WR_EOP;
                    wr_data_9_15<=de_cc_9.WR_DATA;
                    wr_vld_9_15<=de_cc_9.WR_VLD;
                    data_status_9_15<=1'b1;
                end
                else if(huan_cun[9]) begin
                    data_size_9_15<=de_cc_9.DATA_SIZE;
                    data_pri_9_15<=de_cc_9.DATA_PRIO;
                    wr_sop_9_15<=de_cc_9.WR_SOP;
                    wr_eop_9_15<=de_cc_9.WR_EOP;
                    wr_data_9_15<=de_cc_9.WR_DATA;
                    wr_vld_9_15<=de_cc_9.WR_VLD;
                    data_status_9_15<=1'b0;
                end
            end
            default:begin
                data_size_9_0<=11'd0;
                data_size_9_1<=11'd0;
                data_size_9_2<=11'd0;
                data_size_9_3<=11'd0;
                data_size_9_4<=11'd0;
                data_size_9_5<=11'd0;
                data_size_9_6<=11'd0;
                data_size_9_7<=11'd0;
                data_size_9_8<=11'd0;
                data_size_9_9<=11'd0;
                data_size_9_10<=11'd0;
                data_size_9_11<=11'd0;
                data_size_9_12<=11'd0;
                data_size_9_13<=11'd0;
                data_size_9_14<=11'd0;
                data_size_9_15<=11'd0;
                data_pri_9_0<=3'd0;
                data_pri_9_1<=3'd0;
                data_pri_9_2<=3'd0;
                data_pri_9_3<=3'd0;
                data_pri_9_4<=3'd0;
                data_pri_9_5<=3'd0;
                data_pri_9_6<=3'd0;
                data_pri_9_7<=3'd0;
                data_pri_9_8<=3'd0;
                data_pri_9_9<=3'd0;
                data_pri_9_10<=3'd0;
                data_pri_9_11<=3'd0;
                data_pri_9_12<=3'd0;
                data_pri_9_13<=3'd0;
                data_pri_9_14<=3'd0;
                data_pri_9_15<=3'd0;
                wr_sop_9_0<=1'b0;
                wr_sop_9_1<=1'b0;
                wr_sop_9_2<=1'b0;
                wr_sop_9_3<=1'b0;
                wr_sop_9_4<=1'b0;
                wr_sop_9_5<=1'b0;
                wr_sop_9_6<=1'b0;
                wr_sop_9_7<=1'b0;
                wr_sop_9_8<=1'b0;
                wr_sop_9_9<=1'b0;
                wr_sop_9_10<=1'b0;
                wr_sop_9_11<=1'b0;
                wr_sop_9_12<=1'b0;
                wr_sop_9_13<=1'b0;
                wr_sop_9_14<=1'b0;
                wr_sop_9_15<=1'b0;
                wr_eop_9_0<=1'b0;
                wr_eop_9_1<=1'b0;
                wr_eop_9_2<=1'b0;
                wr_eop_9_3<=1'b0;
                wr_eop_9_4<=1'b0;
                wr_eop_9_5<=1'b0;
                wr_eop_9_6<=1'b0;
                wr_eop_9_7<=1'b0;
                wr_eop_9_8<=1'b0;
                wr_eop_9_9<=1'b0;
                wr_eop_9_10<=1'b0;
                wr_eop_9_11<=1'b0;
                wr_eop_9_12<=1'b0;
                wr_eop_9_13<=1'b0;
                wr_eop_9_14<=1'b0;
                wr_eop_9_15<=1'b0;
                wr_data_9_0<=36'd0;
                wr_data_9_1<=36'd0;
                wr_data_9_2<=36'd0;
                wr_data_9_3<=36'd0;
                wr_data_9_4<=36'd0;
                wr_data_9_5<=36'd0;
                wr_data_9_6<=36'd0;
                wr_data_9_7<=36'd0;
                wr_data_9_8<=36'd0;
                wr_data_9_9<=36'd0;
                wr_data_9_10<=36'd0;
                wr_data_9_11<=36'd0;
                wr_data_9_12<=36'd0;
                wr_data_9_13<=36'd0;
                wr_data_9_14<=36'd0;
                wr_data_9_15<=36'd0;
                wr_vld_9_0<=1'b0;
                wr_vld_9_1<=1'b0;
                wr_vld_9_2<=1'b0;
                wr_vld_9_3<=1'b0;
                wr_vld_9_4<=1'b0;
                wr_vld_9_5<=1'b0;
                wr_vld_9_6<=1'b0;
                wr_vld_9_7<=1'b0;
                wr_vld_9_8<=1'b0;
                wr_vld_9_9<=1'b0;
                wr_vld_9_10<=1'b0;
                wr_vld_9_11<=1'b0;
                wr_vld_9_12<=1'b0;
                wr_vld_9_13<=1'b0;
                wr_vld_9_14<=1'b0;
                wr_vld_9_15<=1'b0;                   
                data_status_9_0<=1'b0;
                data_status_9_1<=1'b0;
                data_status_9_2<=1'b0;
                data_status_9_3<=1'b0;
                data_status_9_4<=1'b0;
                data_status_9_5<=1'b0;
                data_status_9_6<=1'b0;
                data_status_9_7<=1'b0;
                data_status_9_8<=1'b0;
                data_status_9_9<=1'b0;
                data_status_9_10<=1'b0;
                data_status_9_11<=1'b0;
                data_status_9_12<=1'b0;
                data_status_9_13<=1'b0;
                data_status_9_14<=1'b0;
                data_status_9_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_10_0<=11'd0;
        data_size_10_1<=11'd0;
        data_size_10_2<=11'd0;
        data_size_10_3<=11'd0;
        data_size_10_4<=11'd0;
        data_size_10_5<=11'd0;
        data_size_10_6<=11'd0;
        data_size_10_7<=11'd0;
        data_size_10_8<=11'd0;
        data_size_10_9<=11'd0;
        data_size_10_10<=11'd0;
        data_size_10_11<=11'd0;
        data_size_10_12<=11'd0;
        data_size_10_13<=11'd0;
        data_size_10_14<=11'd0;
        data_size_10_15<=11'd0;
        data_pri_10_0<=3'd0;
        data_pri_10_1<=3'd0;
        data_pri_10_2<=3'd0;
        data_pri_10_3<=3'd0;
        data_pri_10_4<=3'd0;
        data_pri_10_5<=3'd0;
        data_pri_10_6<=3'd0;
        data_pri_10_7<=3'd0;
        data_pri_10_8<=3'd0;
        data_pri_10_9<=3'd0;
        data_pri_10_10<=3'd0;
        data_pri_10_11<=3'd0;
        data_pri_10_12<=3'd0;
        data_pri_10_13<=3'd0;
        data_pri_10_14<=3'd0;
        data_pri_10_15<=3'd0;
        wr_sop_10_0<=1'b0;
        wr_sop_10_1<=1'b0;
        wr_sop_10_2<=1'b0;
        wr_sop_10_3<=1'b0;
        wr_sop_10_4<=1'b0;
        wr_sop_10_5<=1'b0;
        wr_sop_10_6<=1'b0;
        wr_sop_10_7<=1'b0;
        wr_sop_10_8<=1'b0;
        wr_sop_10_9<=1'b0;
        wr_sop_10_10<=1'b0;
        wr_sop_10_11<=1'b0;
        wr_sop_10_12<=1'b0;
        wr_sop_10_13<=1'b0;
        wr_sop_10_14<=1'b0;
        wr_sop_10_15<=1'b0;
        wr_eop_10_0<=1'b0;
        wr_eop_10_1<=1'b0;
        wr_eop_10_2<=1'b0;
        wr_eop_10_3<=1'b0;
        wr_eop_10_4<=1'b0;
        wr_eop_10_5<=1'b0;
        wr_eop_10_6<=1'b0;
        wr_eop_10_7<=1'b0;
        wr_eop_10_8<=1'b0;
        wr_eop_10_9<=1'b0;
        wr_eop_10_10<=1'b0;
        wr_eop_10_11<=1'b0;
        wr_eop_10_12<=1'b0;
        wr_eop_10_13<=1'b0;
        wr_eop_10_14<=1'b0;
        wr_eop_10_15<=1'b0;
        wr_data_10_0<=36'd0;
        wr_data_10_1<=36'd0;
        wr_data_10_2<=36'd0;
        wr_data_10_3<=36'd0;
        wr_data_10_4<=36'd0;
        wr_data_10_5<=36'd0;
        wr_data_10_6<=36'd0;
        wr_data_10_7<=36'd0;
        wr_data_10_8<=36'd0;
        wr_data_10_9<=36'd0;
        wr_data_10_10<=36'd0;
        wr_data_10_11<=36'd0;
        wr_data_10_12<=36'd0;
        wr_data_10_13<=36'd0;
        wr_data_10_14<=36'd0;
        wr_data_10_15<=36'd0;
        wr_vld_10_0<=1'b0;
        wr_vld_10_1<=1'b0;
        wr_vld_10_2<=1'b0;
        wr_vld_10_3<=1'b0;
        wr_vld_10_4<=1'b0;
        wr_vld_10_5<=1'b0;
        wr_vld_10_6<=1'b0;
        wr_vld_10_7<=1'b0;
        wr_vld_10_8<=1'b0;
        wr_vld_10_9<=1'b0;
        wr_vld_10_10<=1'b0;
        wr_vld_10_11<=1'b0;
        wr_vld_10_12<=1'b0;
        wr_vld_10_13<=1'b0;
        wr_vld_10_14<=1'b0;
        wr_vld_10_15<=1'b0;                   
        data_status_10_0<=1'b0;
        data_status_10_1<=1'b0;
        data_status_10_2<=1'b0;
        data_status_10_3<=1'b0;
        data_status_10_4<=1'b0;
        data_status_10_5<=1'b0;
        data_status_10_6<=1'b0;
        data_status_10_7<=1'b0;
        data_status_10_8<=1'b0;
        data_status_10_9<=1'b0;
        data_status_10_10<=1'b0;
        data_status_10_11<=1'b0;
        data_status_10_12<=1'b0;
        data_status_10_13<=1'b0;
        data_status_10_14<=1'b0;
        data_status_10_15<=1'b0;
    end
    else if(REQ10_1)begin
        case(de_cc_10.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[10]) begin
                    data_size_10_0<=de_cc_10.DATA_SIZE;
                    data_pri_10_0<=de_cc_10.DATA_PRIO;
                    wr_sop_10_0<=de_cc_10.WR_SOP;
                    wr_eop_10_0<=de_cc_10.WR_EOP;
                    wr_data_10_0<=de_cc_10.WR_DATA;
                    wr_vld_10_0<=de_cc_10.WR_VLD;
                    data_status_10_0<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_0<=de_cc_10.DATA_SIZE;
                    data_pri_10_0<=de_cc_10.DATA_PRIO;
                    wr_sop_10_0<=de_cc_10.WR_SOP;
                    wr_eop_10_0<=de_cc_10.WR_EOP;
                    wr_data_10_0<=de_cc_10.WR_DATA;
                    wr_vld_10_0<=de_cc_10.WR_VLD;
                    data_status_10_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[10]) begin
                    data_size_10_1<=de_cc_10.DATA_SIZE;
                    data_pri_10_1<=de_cc_10.DATA_PRIO;
                    wr_sop_10_1<=de_cc_10.WR_SOP;
                    wr_eop_10_1<=de_cc_10.WR_EOP;
                    wr_data_10_1<=de_cc_10.WR_DATA;
                    wr_vld_10_1<=de_cc_10.WR_VLD;
                    data_status_10_1<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_1<=de_cc_10.DATA_SIZE;
                    data_pri_10_1<=de_cc_10.DATA_PRIO;
                    wr_sop_10_1<=de_cc_10.WR_SOP;
                    wr_eop_10_1<=de_cc_10.WR_EOP;
                    wr_data_10_1<=de_cc_10.WR_DATA;
                    wr_vld_10_1<=de_cc_10.WR_VLD;
                    data_status_10_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[10]) begin
                    data_size_10_2<=de_cc_10.DATA_SIZE;
                    data_pri_10_2<=de_cc_10.DATA_PRIO;
                    wr_sop_10_2<=de_cc_10.WR_SOP;
                    wr_eop_10_2<=de_cc_10.WR_EOP;
                    wr_data_10_2<=de_cc_10.WR_DATA;
                    wr_vld_10_2<=de_cc_10.WR_VLD;
                    data_status_10_2<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_2<=de_cc_10.DATA_SIZE;
                    data_pri_10_2<=de_cc_10.DATA_PRIO;
                    wr_sop_10_2<=de_cc_10.WR_SOP;
                    wr_eop_10_2<=de_cc_10.WR_EOP;
                    wr_data_10_2<=de_cc_10.WR_DATA;
                    wr_vld_10_2<=de_cc_10.WR_VLD;
                    data_status_10_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[10]) begin
                    data_size_10_3<=de_cc_10.DATA_SIZE;
                    data_pri_10_3<=de_cc_10.DATA_PRIO;
                    wr_sop_10_3<=de_cc_10.WR_SOP;
                    wr_eop_10_3<=de_cc_10.WR_EOP;
                    wr_data_10_3<=de_cc_10.WR_DATA;
                    wr_vld_10_3<=de_cc_10.WR_VLD;
                    data_status_10_3<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_3<=de_cc_10.DATA_SIZE;
                    data_pri_10_3<=de_cc_10.DATA_PRIO;
                    wr_sop_10_3<=de_cc_10.WR_SOP;
                    wr_eop_10_3<=de_cc_10.WR_EOP;
                    wr_data_10_3<=de_cc_10.WR_DATA;
                    wr_vld_10_3<=de_cc_10.WR_VLD;
                    data_status_10_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[10]) begin
                    data_size_10_4<=de_cc_10.DATA_SIZE;
                    data_pri_10_4<=de_cc_10.DATA_PRIO;
                    wr_sop_10_4<=de_cc_10.WR_SOP;
                    wr_eop_10_4<=de_cc_10.WR_EOP;
                    wr_data_10_4<=de_cc_10.WR_DATA;
                    wr_vld_10_4<=de_cc_10.WR_VLD;
                    data_status_10_4<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_4<=de_cc_10.DATA_SIZE;
                    data_pri_10_4<=de_cc_10.DATA_PRIO;
                    wr_sop_10_4<=de_cc_10.WR_SOP;
                    wr_eop_10_4<=de_cc_10.WR_EOP;
                    wr_data_10_4<=de_cc_10.WR_DATA;
                    wr_vld_10_4<=de_cc_10.WR_VLD;
                    data_status_10_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[10]) begin
                    data_size_10_5<=de_cc_10.DATA_SIZE;
                    data_pri_10_5<=de_cc_10.DATA_PRIO;
                    wr_sop_10_5<=de_cc_10.WR_SOP;
                    wr_eop_10_5<=de_cc_10.WR_EOP;
                    wr_data_10_5<=de_cc_10.WR_DATA;
                    wr_vld_10_5<=de_cc_10.WR_VLD;
                    data_status_10_5<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_5<=de_cc_10.DATA_SIZE;
                    data_pri_10_5<=de_cc_10.DATA_PRIO;
                    wr_sop_10_5<=de_cc_10.WR_SOP;
                    wr_eop_10_5<=de_cc_10.WR_EOP;
                    wr_data_10_5<=de_cc_10.WR_DATA;
                    wr_vld_10_5<=de_cc_10.WR_VLD;
                    data_status_10_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[10]) begin
                    data_size_10_6<=de_cc_10.DATA_SIZE;
                    data_pri_10_6<=de_cc_10.DATA_PRIO;
                    wr_sop_10_6<=de_cc_10.WR_SOP;
                    wr_eop_10_6<=de_cc_10.WR_EOP;
                    wr_data_10_6<=de_cc_10.WR_DATA;
                    wr_vld_10_6<=de_cc_10.WR_VLD;
                    data_status_10_6<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_6<=de_cc_10.DATA_SIZE;
                    data_pri_10_6<=de_cc_10.DATA_PRIO;
                    wr_sop_10_6<=de_cc_10.WR_SOP;
                    wr_eop_10_6<=de_cc_10.WR_EOP;
                    wr_data_10_6<=de_cc_10.WR_DATA;
                    wr_vld_10_6<=de_cc_10.WR_VLD;
                    data_status_10_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[10]) begin
                    data_size_10_7<=de_cc_10.DATA_SIZE;
                    data_pri_10_7<=de_cc_10.DATA_PRIO;
                    wr_sop_10_7<=de_cc_10.WR_SOP;
                    wr_eop_10_7<=de_cc_10.WR_EOP;
                    wr_data_10_7<=de_cc_10.WR_DATA;
                    wr_vld_10_7<=de_cc_10.WR_VLD;
                    data_status_10_7<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_7<=de_cc_10.DATA_SIZE;
                    data_pri_10_7<=de_cc_10.DATA_PRIO;
                    wr_sop_10_7<=de_cc_10.WR_SOP;
                    wr_eop_10_7<=de_cc_10.WR_EOP;
                    wr_data_10_7<=de_cc_10.WR_DATA;
                    wr_vld_10_7<=de_cc_10.WR_VLD;
                    data_status_10_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[10]) begin
                    data_size_10_8<=de_cc_10.DATA_SIZE;
                    data_pri_10_8<=de_cc_10.DATA_PRIO;
                    wr_sop_10_8<=de_cc_10.WR_SOP;
                    wr_eop_10_8<=de_cc_10.WR_EOP;
                    wr_data_10_8<=de_cc_10.WR_DATA;
                    wr_vld_10_8<=de_cc_10.WR_VLD;
                    data_status_10_8<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_8<=de_cc_10.DATA_SIZE;
                    data_pri_10_8<=de_cc_10.DATA_PRIO;
                    wr_sop_10_8<=de_cc_10.WR_SOP;
                    wr_eop_10_8<=de_cc_10.WR_EOP;
                    wr_data_10_8<=de_cc_10.WR_DATA;
                    wr_vld_10_8<=de_cc_10.WR_VLD;
                    data_status_10_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[10]) begin
                    data_size_10_9<=de_cc_10.DATA_SIZE;
                    data_pri_10_9<=de_cc_10.DATA_PRIO;
                    wr_sop_10_9<=de_cc_10.WR_SOP;
                    wr_eop_10_9<=de_cc_10.WR_EOP;
                    wr_data_10_9<=de_cc_10.WR_DATA;
                    wr_vld_10_9<=de_cc_10.WR_VLD;
                    data_status_10_9<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_9<=de_cc_10.DATA_SIZE;
                    data_pri_10_9<=de_cc_10.DATA_PRIO;
                    wr_sop_10_9<=de_cc_10.WR_SOP;
                    wr_eop_10_9<=de_cc_10.WR_EOP;
                    wr_data_10_9<=de_cc_10.WR_DATA;
                    wr_vld_10_9<=de_cc_10.WR_VLD;
                    data_status_10_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[10]) begin
                    data_size_10_10<=de_cc_10.DATA_SIZE;
                    data_pri_10_10<=de_cc_10.DATA_PRIO;
                    wr_sop_10_10<=de_cc_10.WR_SOP;
                    wr_eop_10_10<=de_cc_10.WR_EOP;
                    wr_data_10_10<=de_cc_10.WR_DATA;
                    wr_vld_10_10<=de_cc_10.WR_VLD;
                    data_status_10_10<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_10<=de_cc_10.DATA_SIZE;
                    data_pri_10_10<=de_cc_10.DATA_PRIO;
                    wr_sop_10_10<=de_cc_10.WR_SOP;
                    wr_eop_10_10<=de_cc_10.WR_EOP;
                    wr_data_10_10<=de_cc_10.WR_DATA;
                    wr_vld_10_10<=de_cc_10.WR_VLD;
                    data_status_10_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[10]) begin
                    data_size_10_11<=de_cc_10.DATA_SIZE;
                    data_pri_10_11<=de_cc_10.DATA_PRIO;
                    wr_sop_10_11<=de_cc_10.WR_SOP;
                    wr_eop_10_11<=de_cc_10.WR_EOP;
                    wr_data_10_11<=de_cc_10.WR_DATA;
                    wr_vld_10_11<=de_cc_10.WR_VLD;
                    data_status_10_11<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_11<=de_cc_10.DATA_SIZE;
                    data_pri_10_11<=de_cc_10.DATA_PRIO;
                    wr_sop_10_11<=de_cc_10.WR_SOP;
                    wr_eop_10_11<=de_cc_10.WR_EOP;
                    wr_data_10_11<=de_cc_10.WR_DATA;
                    wr_vld_10_11<=de_cc_10.WR_VLD;
                    data_status_10_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[10]) begin
                    data_size_10_12<=de_cc_10.DATA_SIZE;
                    data_pri_10_12<=de_cc_10.DATA_PRIO;
                    wr_sop_10_12<=de_cc_10.WR_SOP;
                    wr_eop_10_12<=de_cc_10.WR_EOP;
                    wr_data_10_12<=de_cc_10.WR_DATA;
                    wr_vld_10_12<=de_cc_10.WR_VLD;
                    data_status_10_12<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_12<=de_cc_10.DATA_SIZE;
                    data_pri_10_12<=de_cc_10.DATA_PRIO;
                    wr_sop_10_12<=de_cc_10.WR_SOP;
                    wr_eop_10_12<=de_cc_10.WR_EOP;
                    wr_data_10_12<=de_cc_10.WR_DATA;
                    wr_vld_10_12<=de_cc_10.WR_VLD;
                    data_status_10_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[10]) begin
                    data_size_10_13<=de_cc_10.DATA_SIZE;
                    data_pri_10_13<=de_cc_10.DATA_PRIO;
                    wr_sop_10_13<=de_cc_10.WR_SOP;
                    wr_eop_10_13<=de_cc_10.WR_EOP;
                    wr_data_10_13<=de_cc_10.WR_DATA;
                    wr_vld_10_13<=de_cc_10.WR_VLD;
                    data_status_10_13<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_13<=de_cc_10.DATA_SIZE;
                    data_pri_10_13<=de_cc_10.DATA_PRIO;
                    wr_sop_10_13<=de_cc_10.WR_SOP;
                    wr_eop_10_13<=de_cc_10.WR_EOP;
                    wr_data_10_13<=de_cc_10.WR_DATA;
                    wr_vld_10_13<=de_cc_10.WR_VLD;
                    data_status_10_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[10]) begin
                    data_size_10_14<=de_cc_10.DATA_SIZE;
                    data_pri_10_14<=de_cc_10.DATA_PRIO;
                    wr_sop_10_14<=de_cc_10.WR_SOP;
                    wr_eop_10_14<=de_cc_10.WR_EOP;
                    wr_data_10_14<=de_cc_10.WR_DATA;
                    wr_vld_10_14<=de_cc_10.WR_VLD;
                    data_status_10_14<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_14<=de_cc_10.DATA_SIZE;
                    data_pri_10_14<=de_cc_10.DATA_PRIO;
                    wr_sop_10_14<=de_cc_10.WR_SOP;
                    wr_eop_10_14<=de_cc_10.WR_EOP;
                    wr_data_10_14<=de_cc_10.WR_DATA;
                    wr_vld_10_14<=de_cc_10.WR_VLD;
                    data_status_10_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[10]) begin
                    data_size_10_15<=de_cc_10.DATA_SIZE;
                    data_pri_10_15<=de_cc_10.DATA_PRIO;
                    wr_sop_10_15<=de_cc_10.WR_SOP;
                    wr_eop_10_15<=de_cc_10.WR_EOP;
                    wr_data_10_15<=de_cc_10.WR_DATA;
                    wr_vld_10_15<=de_cc_10.WR_VLD;
                    data_status_10_15<=1'b1;
                end
                else if(huan_cun[10]) begin
                    data_size_10_15<=de_cc_10.DATA_SIZE;
                    data_pri_10_15<=de_cc_10.DATA_PRIO;
                    wr_sop_10_15<=de_cc_10.WR_SOP;
                    wr_eop_10_15<=de_cc_10.WR_EOP;
                    wr_data_10_15<=de_cc_10.WR_DATA;
                    wr_vld_10_15<=de_cc_10.WR_VLD;
                    data_status_10_15<=1'b0;
                end
            end
            default:begin
                data_size_10_0<=11'd0;
                data_size_10_1<=11'd0;
                data_size_10_2<=11'd0;
                data_size_10_3<=11'd0;
                data_size_10_4<=11'd0;
                data_size_10_5<=11'd0;
                data_size_10_6<=11'd0;
                data_size_10_7<=11'd0;
                data_size_10_8<=11'd0;
                data_size_10_9<=11'd0;
                data_size_10_10<=11'd0;
                data_size_10_11<=11'd0;
                data_size_10_12<=11'd0;
                data_size_10_13<=11'd0;
                data_size_10_14<=11'd0;
                data_size_10_15<=11'd0;
                data_pri_10_0<=3'd0;
                data_pri_10_1<=3'd0;
                data_pri_10_2<=3'd0;
                data_pri_10_3<=3'd0;
                data_pri_10_4<=3'd0;
                data_pri_10_5<=3'd0;
                data_pri_10_6<=3'd0;
                data_pri_10_7<=3'd0;
                data_pri_10_8<=3'd0;
                data_pri_10_9<=3'd0;
                data_pri_10_10<=3'd0;
                data_pri_10_11<=3'd0;
                data_pri_10_12<=3'd0;
                data_pri_10_13<=3'd0;
                data_pri_10_14<=3'd0;
                data_pri_10_15<=3'd0;
                wr_sop_10_0<=1'b0;
                wr_sop_10_1<=1'b0;
                wr_sop_10_2<=1'b0;
                wr_sop_10_3<=1'b0;
                wr_sop_10_4<=1'b0;
                wr_sop_10_5<=1'b0;
                wr_sop_10_6<=1'b0;
                wr_sop_10_7<=1'b0;
                wr_sop_10_8<=1'b0;
                wr_sop_10_9<=1'b0;
                wr_sop_10_10<=1'b0;
                wr_sop_10_11<=1'b0;
                wr_sop_10_12<=1'b0;
                wr_sop_10_13<=1'b0;
                wr_sop_10_14<=1'b0;
                wr_sop_10_15<=1'b0;
                wr_eop_10_0<=1'b0;
                wr_eop_10_1<=1'b0;
                wr_eop_10_2<=1'b0;
                wr_eop_10_3<=1'b0;
                wr_eop_10_4<=1'b0;
                wr_eop_10_5<=1'b0;
                wr_eop_10_6<=1'b0;
                wr_eop_10_7<=1'b0;
                wr_eop_10_8<=1'b0;
                wr_eop_10_9<=1'b0;
                wr_eop_10_10<=1'b0;
                wr_eop_10_11<=1'b0;
                wr_eop_10_12<=1'b0;
                wr_eop_10_13<=1'b0;
                wr_eop_10_14<=1'b0;
                wr_eop_10_15<=1'b0;
                wr_data_10_0<=36'd0;
                wr_data_10_1<=36'd0;
                wr_data_10_2<=36'd0;
                wr_data_10_3<=36'd0;
                wr_data_10_4<=36'd0;
                wr_data_10_5<=36'd0;
                wr_data_10_6<=36'd0;
                wr_data_10_7<=36'd0;
                wr_data_10_8<=36'd0;
                wr_data_10_9<=36'd0;
                wr_data_10_10<=36'd0;
                wr_data_10_11<=36'd0;
                wr_data_10_12<=36'd0;
                wr_data_10_13<=36'd0;
                wr_data_10_14<=36'd0;
                wr_data_10_15<=36'd0;
                wr_vld_10_0<=1'b0;
                wr_vld_10_1<=1'b0;
                wr_vld_10_2<=1'b0;
                wr_vld_10_3<=1'b0;
                wr_vld_10_4<=1'b0;
                wr_vld_10_5<=1'b0;
                wr_vld_10_6<=1'b0;
                wr_vld_10_7<=1'b0;
                wr_vld_10_8<=1'b0;
                wr_vld_10_9<=1'b0;
                wr_vld_10_10<=1'b0;
                wr_vld_10_11<=1'b0;
                wr_vld_10_12<=1'b0;
                wr_vld_10_13<=1'b0;
                wr_vld_10_14<=1'b0;
                wr_vld_10_15<=1'b0;                   
                data_status_10_0<=1'b0;
                data_status_10_1<=1'b0;
                data_status_10_2<=1'b0;
                data_status_10_3<=1'b0;
                data_status_10_4<=1'b0;
                data_status_10_5<=1'b0;
                data_status_10_6<=1'b0;
                data_status_10_7<=1'b0;
                data_status_10_8<=1'b0;
                data_status_10_9<=1'b0;
                data_status_10_10<=1'b0;
                data_status_10_11<=1'b0;
                data_status_10_12<=1'b0;
                data_status_10_13<=1'b0;
                data_status_10_14<=1'b0;
                data_status_10_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_11_0<=11'd0;
        data_size_11_1<=11'd0;
        data_size_11_2<=11'd0;
        data_size_11_3<=11'd0;
        data_size_11_4<=11'd0;
        data_size_11_5<=11'd0;
        data_size_11_6<=11'd0;
        data_size_11_7<=11'd0;
        data_size_11_8<=11'd0;
        data_size_11_9<=11'd0;
        data_size_11_10<=11'd0;
        data_size_11_11<=11'd0;
        data_size_11_12<=11'd0;
        data_size_11_13<=11'd0;
        data_size_11_14<=11'd0;
        data_size_11_15<=11'd0;
        data_pri_11_0<=3'd0;
        data_pri_11_1<=3'd0;
        data_pri_11_2<=3'd0;
        data_pri_11_3<=3'd0;
        data_pri_11_4<=3'd0;
        data_pri_11_5<=3'd0;
        data_pri_11_6<=3'd0;
        data_pri_11_7<=3'd0;
        data_pri_11_8<=3'd0;
        data_pri_11_9<=3'd0;
        data_pri_11_10<=3'd0;
        data_pri_11_11<=3'd0;
        data_pri_11_12<=3'd0;
        data_pri_11_13<=3'd0;
        data_pri_11_14<=3'd0;
        data_pri_11_15<=3'd0;
        wr_sop_11_0<=1'b0;
        wr_sop_11_1<=1'b0;
        wr_sop_11_2<=1'b0;
        wr_sop_11_3<=1'b0;
        wr_sop_11_4<=1'b0;
        wr_sop_11_5<=1'b0;
        wr_sop_11_6<=1'b0;
        wr_sop_11_7<=1'b0;
        wr_sop_11_8<=1'b0;
        wr_sop_11_9<=1'b0;
        wr_sop_11_10<=1'b0;
        wr_sop_11_11<=1'b0;
        wr_sop_11_12<=1'b0;
        wr_sop_11_13<=1'b0;
        wr_sop_11_14<=1'b0;
        wr_sop_11_15<=1'b0;
        wr_eop_11_0<=1'b0;
        wr_eop_11_1<=1'b0;
        wr_eop_11_2<=1'b0;
        wr_eop_11_3<=1'b0;
        wr_eop_11_4<=1'b0;
        wr_eop_11_5<=1'b0;
        wr_eop_11_6<=1'b0;
        wr_eop_11_7<=1'b0;
        wr_eop_11_8<=1'b0;
        wr_eop_11_9<=1'b0;
        wr_eop_11_10<=1'b0;
        wr_eop_11_11<=1'b0;
        wr_eop_11_12<=1'b0;
        wr_eop_11_13<=1'b0;
        wr_eop_11_14<=1'b0;
        wr_eop_11_15<=1'b0;
        wr_data_11_0<=36'd0;
        wr_data_11_1<=36'd0;
        wr_data_11_2<=36'd0;
        wr_data_11_3<=36'd0;
        wr_data_11_4<=36'd0;
        wr_data_11_5<=36'd0;
        wr_data_11_6<=36'd0;
        wr_data_11_7<=36'd0;
        wr_data_11_8<=36'd0;
        wr_data_11_9<=36'd0;
        wr_data_11_10<=36'd0;
        wr_data_11_11<=36'd0;
        wr_data_11_12<=36'd0;
        wr_data_11_13<=36'd0;
        wr_data_11_14<=36'd0;
        wr_data_11_15<=36'd0;
        wr_vld_11_0<=1'b0;
        wr_vld_11_1<=1'b0;
        wr_vld_11_2<=1'b0;
        wr_vld_11_3<=1'b0;
        wr_vld_11_4<=1'b0;
        wr_vld_11_5<=1'b0;
        wr_vld_11_6<=1'b0;
        wr_vld_11_7<=1'b0;
        wr_vld_11_8<=1'b0;
        wr_vld_11_9<=1'b0;
        wr_vld_11_10<=1'b0;
        wr_vld_11_11<=1'b0;
        wr_vld_11_12<=1'b0;
        wr_vld_11_13<=1'b0;
        wr_vld_11_14<=1'b0;
        wr_vld_11_15<=1'b0;                   
        data_status_11_0<=1'b0;
        data_status_11_1<=1'b0;
        data_status_11_2<=1'b0;
        data_status_11_3<=1'b0;
        data_status_11_4<=1'b0;
        data_status_11_5<=1'b0;
        data_status_11_6<=1'b0;
        data_status_11_7<=1'b0;
        data_status_11_8<=1'b0;
        data_status_11_9<=1'b0;
        data_status_11_10<=1'b0;
        data_status_11_11<=1'b0;
        data_status_11_12<=1'b0;
        data_status_11_13<=1'b0;
        data_status_11_14<=1'b0;
        data_status_11_15<=1'b0;
    end
    else if(REQ11_1)begin
        case(de_cc_11.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[11]) begin
                    data_size_11_0<=de_cc_11.DATA_SIZE;
                    data_pri_11_0<=de_cc_11.DATA_PRIO;
                    wr_sop_11_0<=de_cc_11.WR_SOP;
                    wr_eop_11_0<=de_cc_11.WR_EOP;
                    wr_data_11_0<=de_cc_11.WR_DATA;
                    wr_vld_11_0<=de_cc_11.WR_VLD;
                    data_status_11_0<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_0<=de_cc_11.DATA_SIZE;
                    data_pri_11_0<=de_cc_11.DATA_PRIO;
                    wr_sop_11_0<=de_cc_11.WR_SOP;
                    wr_eop_11_0<=de_cc_11.WR_EOP;
                    wr_data_11_0<=de_cc_11.WR_DATA;
                    wr_vld_11_0<=de_cc_11.WR_VLD;
                    data_status_11_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[11]) begin
                    data_size_11_1<=de_cc_11.DATA_SIZE;
                    data_pri_11_1<=de_cc_11.DATA_PRIO;
                    wr_sop_11_1<=de_cc_11.WR_SOP;
                    wr_eop_11_1<=de_cc_11.WR_EOP;
                    wr_data_11_1<=de_cc_11.WR_DATA;
                    wr_vld_11_1<=de_cc_11.WR_VLD;
                    data_status_11_1<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_1<=de_cc_11.DATA_SIZE;
                    data_pri_11_1<=de_cc_11.DATA_PRIO;
                    wr_sop_11_1<=de_cc_11.WR_SOP;
                    wr_eop_11_1<=de_cc_11.WR_EOP;
                    wr_data_11_1<=de_cc_11.WR_DATA;
                    wr_vld_11_1<=de_cc_11.WR_VLD;
                    data_status_11_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[11]) begin
                    data_size_11_2<=de_cc_11.DATA_SIZE;
                    data_pri_11_2<=de_cc_11.DATA_PRIO;
                    wr_sop_11_2<=de_cc_11.WR_SOP;
                    wr_eop_11_2<=de_cc_11.WR_EOP;
                    wr_data_11_2<=de_cc_11.WR_DATA;
                    wr_vld_11_2<=de_cc_11.WR_VLD;
                    data_status_11_2<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_2<=de_cc_11.DATA_SIZE;
                    data_pri_11_2<=de_cc_11.DATA_PRIO;
                    wr_sop_11_2<=de_cc_11.WR_SOP;
                    wr_eop_11_2<=de_cc_11.WR_EOP;
                    wr_data_11_2<=de_cc_11.WR_DATA;
                    wr_vld_11_2<=de_cc_11.WR_VLD;
                    data_status_11_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[11]) begin
                    data_size_11_3<=de_cc_11.DATA_SIZE;
                    data_pri_11_3<=de_cc_11.DATA_PRIO;
                    wr_sop_11_3<=de_cc_11.WR_SOP;
                    wr_eop_11_3<=de_cc_11.WR_EOP;
                    wr_data_11_3<=de_cc_11.WR_DATA;
                    wr_vld_11_3<=de_cc_11.WR_VLD;
                    data_status_11_3<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_3<=de_cc_11.DATA_SIZE;
                    data_pri_11_3<=de_cc_11.DATA_PRIO;
                    wr_sop_11_3<=de_cc_11.WR_SOP;
                    wr_eop_11_3<=de_cc_11.WR_EOP;
                    wr_data_11_3<=de_cc_11.WR_DATA;
                    wr_vld_11_3<=de_cc_11.WR_VLD;
                    data_status_11_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[11]) begin
                    data_size_11_4<=de_cc_11.DATA_SIZE;
                    data_pri_11_4<=de_cc_11.DATA_PRIO;
                    wr_sop_11_4<=de_cc_11.WR_SOP;
                    wr_eop_11_4<=de_cc_11.WR_EOP;
                    wr_data_11_4<=de_cc_11.WR_DATA;
                    wr_vld_11_4<=de_cc_11.WR_VLD;
                    data_status_11_4<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_4<=de_cc_11.DATA_SIZE;
                    data_pri_11_4<=de_cc_11.DATA_PRIO;
                    wr_sop_11_4<=de_cc_11.WR_SOP;
                    wr_eop_11_4<=de_cc_11.WR_EOP;
                    wr_data_11_4<=de_cc_11.WR_DATA;
                    wr_vld_11_4<=de_cc_11.WR_VLD;
                    data_status_11_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[11]) begin
                    data_size_11_5<=de_cc_11.DATA_SIZE;
                    data_pri_11_5<=de_cc_11.DATA_PRIO;
                    wr_sop_11_5<=de_cc_11.WR_SOP;
                    wr_eop_11_5<=de_cc_11.WR_EOP;
                    wr_data_11_5<=de_cc_11.WR_DATA;
                    wr_vld_11_5<=de_cc_11.WR_VLD;
                    data_status_11_5<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_5<=de_cc_11.DATA_SIZE;
                    data_pri_11_5<=de_cc_11.DATA_PRIO;
                    wr_sop_11_5<=de_cc_11.WR_SOP;
                    wr_eop_11_5<=de_cc_11.WR_EOP;
                    wr_data_11_5<=de_cc_11.WR_DATA;
                    wr_vld_11_5<=de_cc_11.WR_VLD;
                    data_status_11_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[11]) begin
                    data_size_11_6<=de_cc_11.DATA_SIZE;
                    data_pri_11_6<=de_cc_11.DATA_PRIO;
                    wr_sop_11_6<=de_cc_11.WR_SOP;
                    wr_eop_11_6<=de_cc_11.WR_EOP;
                    wr_data_11_6<=de_cc_11.WR_DATA;
                    wr_vld_11_6<=de_cc_11.WR_VLD;
                    data_status_11_6<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_6<=de_cc_11.DATA_SIZE;
                    data_pri_11_6<=de_cc_11.DATA_PRIO;
                    wr_sop_11_6<=de_cc_11.WR_SOP;
                    wr_eop_11_6<=de_cc_11.WR_EOP;
                    wr_data_11_6<=de_cc_11.WR_DATA;
                    wr_vld_11_6<=de_cc_11.WR_VLD;
                    data_status_11_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[11]) begin
                    data_size_11_7<=de_cc_11.DATA_SIZE;
                    data_pri_11_7<=de_cc_11.DATA_PRIO;
                    wr_sop_11_7<=de_cc_11.WR_SOP;
                    wr_eop_11_7<=de_cc_11.WR_EOP;
                    wr_data_11_7<=de_cc_11.WR_DATA;
                    wr_vld_11_7<=de_cc_11.WR_VLD;
                    data_status_11_7<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_7<=de_cc_11.DATA_SIZE;
                    data_pri_11_7<=de_cc_11.DATA_PRIO;
                    wr_sop_11_7<=de_cc_11.WR_SOP;
                    wr_eop_11_7<=de_cc_11.WR_EOP;
                    wr_data_11_7<=de_cc_11.WR_DATA;
                    wr_vld_11_7<=de_cc_11.WR_VLD;
                    data_status_11_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[11]) begin
                    data_size_11_8<=de_cc_11.DATA_SIZE;
                    data_pri_11_8<=de_cc_11.DATA_PRIO;
                    wr_sop_11_8<=de_cc_11.WR_SOP;
                    wr_eop_11_8<=de_cc_11.WR_EOP;
                    wr_data_11_8<=de_cc_11.WR_DATA;
                    wr_vld_11_8<=de_cc_11.WR_VLD;
                    data_status_11_8<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_8<=de_cc_11.DATA_SIZE;
                    data_pri_11_8<=de_cc_11.DATA_PRIO;
                    wr_sop_11_8<=de_cc_11.WR_SOP;
                    wr_eop_11_8<=de_cc_11.WR_EOP;
                    wr_data_11_8<=de_cc_11.WR_DATA;
                    wr_vld_11_8<=de_cc_11.WR_VLD;
                    data_status_11_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[11]) begin
                    data_size_11_9<=de_cc_11.DATA_SIZE;
                    data_pri_11_9<=de_cc_11.DATA_PRIO;
                    wr_sop_11_9<=de_cc_11.WR_SOP;
                    wr_eop_11_9<=de_cc_11.WR_EOP;
                    wr_data_11_9<=de_cc_11.WR_DATA;
                    wr_vld_11_9<=de_cc_11.WR_VLD;
                    data_status_11_9<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_9<=de_cc_11.DATA_SIZE;
                    data_pri_11_9<=de_cc_11.DATA_PRIO;
                    wr_sop_11_9<=de_cc_11.WR_SOP;
                    wr_eop_11_9<=de_cc_11.WR_EOP;
                    wr_data_11_9<=de_cc_11.WR_DATA;
                    wr_vld_11_9<=de_cc_11.WR_VLD;
                    data_status_11_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[11]) begin
                    data_size_11_10<=de_cc_11.DATA_SIZE;
                    data_pri_11_10<=de_cc_11.DATA_PRIO;
                    wr_sop_11_10<=de_cc_11.WR_SOP;
                    wr_eop_11_10<=de_cc_11.WR_EOP;
                    wr_data_11_10<=de_cc_11.WR_DATA;
                    wr_vld_11_10<=de_cc_11.WR_VLD;
                    data_status_11_10<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_10<=de_cc_11.DATA_SIZE;
                    data_pri_11_10<=de_cc_11.DATA_PRIO;
                    wr_sop_11_10<=de_cc_11.WR_SOP;
                    wr_eop_11_10<=de_cc_11.WR_EOP;
                    wr_data_11_10<=de_cc_11.WR_DATA;
                    wr_vld_11_10<=de_cc_11.WR_VLD;
                    data_status_11_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[11]) begin
                    data_size_11_11<=de_cc_11.DATA_SIZE;
                    data_pri_11_11<=de_cc_11.DATA_PRIO;
                    wr_sop_11_11<=de_cc_11.WR_SOP;
                    wr_eop_11_11<=de_cc_11.WR_EOP;
                    wr_data_11_11<=de_cc_11.WR_DATA;
                    wr_vld_11_11<=de_cc_11.WR_VLD;
                    data_status_11_11<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_11<=de_cc_11.DATA_SIZE;
                    data_pri_11_11<=de_cc_11.DATA_PRIO;
                    wr_sop_11_11<=de_cc_11.WR_SOP;
                    wr_eop_11_11<=de_cc_11.WR_EOP;
                    wr_data_11_11<=de_cc_11.WR_DATA;
                    wr_vld_11_11<=de_cc_11.WR_VLD;
                    data_status_11_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[11]) begin
                    data_size_11_12<=de_cc_11.DATA_SIZE;
                    data_pri_11_12<=de_cc_11.DATA_PRIO;
                    wr_sop_11_12<=de_cc_11.WR_SOP;
                    wr_eop_11_12<=de_cc_11.WR_EOP;
                    wr_data_11_12<=de_cc_11.WR_DATA;
                    wr_vld_11_12<=de_cc_11.WR_VLD;
                    data_status_11_12<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_12<=de_cc_11.DATA_SIZE;
                    data_pri_11_12<=de_cc_11.DATA_PRIO;
                    wr_sop_11_12<=de_cc_11.WR_SOP;
                    wr_eop_11_12<=de_cc_11.WR_EOP;
                    wr_data_11_12<=de_cc_11.WR_DATA;
                    wr_vld_11_12<=de_cc_11.WR_VLD;
                    data_status_11_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[11]) begin
                    data_size_11_13<=de_cc_11.DATA_SIZE;
                    data_pri_11_13<=de_cc_11.DATA_PRIO;
                    wr_sop_11_13<=de_cc_11.WR_SOP;
                    wr_eop_11_13<=de_cc_11.WR_EOP;
                    wr_data_11_13<=de_cc_11.WR_DATA;
                    wr_vld_11_13<=de_cc_11.WR_VLD;
                    data_status_11_13<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_13<=de_cc_11.DATA_SIZE;
                    data_pri_11_13<=de_cc_11.DATA_PRIO;
                    wr_sop_11_13<=de_cc_11.WR_SOP;
                    wr_eop_11_13<=de_cc_11.WR_EOP;
                    wr_data_11_13<=de_cc_11.WR_DATA;
                    wr_vld_11_13<=de_cc_11.WR_VLD;
                    data_status_11_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[11]) begin
                    data_size_11_14<=de_cc_11.DATA_SIZE;
                    data_pri_11_14<=de_cc_11.DATA_PRIO;
                    wr_sop_11_14<=de_cc_11.WR_SOP;
                    wr_eop_11_14<=de_cc_11.WR_EOP;
                    wr_data_11_14<=de_cc_11.WR_DATA;
                    wr_vld_11_14<=de_cc_11.WR_VLD;
                    data_status_11_14<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_14<=de_cc_11.DATA_SIZE;
                    data_pri_11_14<=de_cc_11.DATA_PRIO;
                    wr_sop_11_14<=de_cc_11.WR_SOP;
                    wr_eop_11_14<=de_cc_11.WR_EOP;
                    wr_data_11_14<=de_cc_11.WR_DATA;
                    wr_vld_11_14<=de_cc_11.WR_VLD;
                    data_status_11_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[11]) begin
                    data_size_11_15<=de_cc_11.DATA_SIZE;
                    data_pri_11_15<=de_cc_11.DATA_PRIO;
                    wr_sop_11_15<=de_cc_11.WR_SOP;
                    wr_eop_11_15<=de_cc_11.WR_EOP;
                    wr_data_11_15<=de_cc_11.WR_DATA;
                    wr_vld_11_15<=de_cc_11.WR_VLD;
                    data_status_11_15<=1'b1;
                end
                else if(huan_cun[11]) begin
                    data_size_11_15<=de_cc_11.DATA_SIZE;
                    data_pri_11_15<=de_cc_11.DATA_PRIO;
                    wr_sop_11_15<=de_cc_11.WR_SOP;
                    wr_eop_11_15<=de_cc_11.WR_EOP;
                    wr_data_11_15<=de_cc_11.WR_DATA;
                    wr_vld_11_15<=de_cc_11.WR_VLD;
                    data_status_11_15<=1'b0;
                end
            end
            default:begin
                data_size_11_0<=11'd0;
                data_size_11_1<=11'd0;
                data_size_11_2<=11'd0;
                data_size_11_3<=11'd0;
                data_size_11_4<=11'd0;
                data_size_11_5<=11'd0;
                data_size_11_6<=11'd0;
                data_size_11_7<=11'd0;
                data_size_11_8<=11'd0;
                data_size_11_9<=11'd0;
                data_size_11_10<=11'd0;
                data_size_11_11<=11'd0;
                data_size_11_12<=11'd0;
                data_size_11_13<=11'd0;
                data_size_11_14<=11'd0;
                data_size_11_15<=11'd0;
                data_pri_11_0<=3'd0;
                data_pri_11_1<=3'd0;
                data_pri_11_2<=3'd0;
                data_pri_11_3<=3'd0;
                data_pri_11_4<=3'd0;
                data_pri_11_5<=3'd0;
                data_pri_11_6<=3'd0;
                data_pri_11_7<=3'd0;
                data_pri_11_8<=3'd0;
                data_pri_11_9<=3'd0;
                data_pri_11_10<=3'd0;
                data_pri_11_11<=3'd0;
                data_pri_11_12<=3'd0;
                data_pri_11_13<=3'd0;
                data_pri_11_14<=3'd0;
                data_pri_11_15<=3'd0;
                wr_sop_11_0<=1'b0;
                wr_sop_11_1<=1'b0;
                wr_sop_11_2<=1'b0;
                wr_sop_11_3<=1'b0;
                wr_sop_11_4<=1'b0;
                wr_sop_11_5<=1'b0;
                wr_sop_11_6<=1'b0;
                wr_sop_11_7<=1'b0;
                wr_sop_11_8<=1'b0;
                wr_sop_11_9<=1'b0;
                wr_sop_11_10<=1'b0;
                wr_sop_11_11<=1'b0;
                wr_sop_11_12<=1'b0;
                wr_sop_11_13<=1'b0;
                wr_sop_11_14<=1'b0;
                wr_sop_11_15<=1'b0;
                wr_eop_11_0<=1'b0;
                wr_eop_11_1<=1'b0;
                wr_eop_11_2<=1'b0;
                wr_eop_11_3<=1'b0;
                wr_eop_11_4<=1'b0;
                wr_eop_11_5<=1'b0;
                wr_eop_11_6<=1'b0;
                wr_eop_11_7<=1'b0;
                wr_eop_11_8<=1'b0;
                wr_eop_11_9<=1'b0;
                wr_eop_11_10<=1'b0;
                wr_eop_11_11<=1'b0;
                wr_eop_11_12<=1'b0;
                wr_eop_11_13<=1'b0;
                wr_eop_11_14<=1'b0;
                wr_eop_11_15<=1'b0;
                wr_data_11_0<=36'd0;
                wr_data_11_1<=36'd0;
                wr_data_11_2<=36'd0;
                wr_data_11_3<=36'd0;
                wr_data_11_4<=36'd0;
                wr_data_11_5<=36'd0;
                wr_data_11_6<=36'd0;
                wr_data_11_7<=36'd0;
                wr_data_11_8<=36'd0;
                wr_data_11_9<=36'd0;
                wr_data_11_10<=36'd0;
                wr_data_11_11<=36'd0;
                wr_data_11_12<=36'd0;
                wr_data_11_13<=36'd0;
                wr_data_11_14<=36'd0;
                wr_data_11_15<=36'd0;
                wr_vld_11_0<=1'b0;
                wr_vld_11_1<=1'b0;
                wr_vld_11_2<=1'b0;
                wr_vld_11_3<=1'b0;
                wr_vld_11_4<=1'b0;
                wr_vld_11_5<=1'b0;
                wr_vld_11_6<=1'b0;
                wr_vld_11_7<=1'b0;
                wr_vld_11_8<=1'b0;
                wr_vld_11_9<=1'b0;
                wr_vld_11_10<=1'b0;
                wr_vld_11_11<=1'b0;
                wr_vld_11_12<=1'b0;
                wr_vld_11_13<=1'b0;
                wr_vld_11_14<=1'b0;
                wr_vld_11_15<=1'b0;                   
                data_status_11_0<=1'b0;
                data_status_11_1<=1'b0;
                data_status_11_2<=1'b0;
                data_status_11_3<=1'b0;
                data_status_11_4<=1'b0;
                data_status_11_5<=1'b0;
                data_status_11_6<=1'b0;
                data_status_11_7<=1'b0;
                data_status_11_8<=1'b0;
                data_status_11_9<=1'b0;
                data_status_11_10<=1'b0;
                data_status_11_11<=1'b0;
                data_status_11_12<=1'b0;
                data_status_11_13<=1'b0;
                data_status_11_14<=1'b0;
                data_status_11_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_12_0<=11'd0;
        data_size_12_1<=11'd0;
        data_size_12_2<=11'd0;
        data_size_12_3<=11'd0;
        data_size_12_4<=11'd0;
        data_size_12_5<=11'd0;
        data_size_12_6<=11'd0;
        data_size_12_7<=11'd0;
        data_size_12_8<=11'd0;
        data_size_12_9<=11'd0;
        data_size_12_10<=11'd0;
        data_size_12_11<=11'd0;
        data_size_12_12<=11'd0;
        data_size_12_13<=11'd0;
        data_size_12_14<=11'd0;
        data_size_12_15<=11'd0;
        data_pri_12_0<=3'd0;
        data_pri_12_1<=3'd0;
        data_pri_12_2<=3'd0;
        data_pri_12_3<=3'd0;
        data_pri_12_4<=3'd0;
        data_pri_12_5<=3'd0;
        data_pri_12_6<=3'd0;
        data_pri_12_7<=3'd0;
        data_pri_12_8<=3'd0;
        data_pri_12_9<=3'd0;
        data_pri_12_10<=3'd0;
        data_pri_12_11<=3'd0;
        data_pri_12_12<=3'd0;
        data_pri_12_13<=3'd0;
        data_pri_12_14<=3'd0;
        data_pri_12_15<=3'd0;
        wr_sop_12_0<=1'b0;
        wr_sop_12_1<=1'b0;
        wr_sop_12_2<=1'b0;
        wr_sop_12_3<=1'b0;
        wr_sop_12_4<=1'b0;
        wr_sop_12_5<=1'b0;
        wr_sop_12_6<=1'b0;
        wr_sop_12_7<=1'b0;
        wr_sop_12_8<=1'b0;
        wr_sop_12_9<=1'b0;
        wr_sop_12_10<=1'b0;
        wr_sop_12_11<=1'b0;
        wr_sop_12_12<=1'b0;
        wr_sop_12_13<=1'b0;
        wr_sop_12_14<=1'b0;
        wr_sop_12_15<=1'b0;
        wr_eop_12_0<=1'b0;
        wr_eop_12_1<=1'b0;
        wr_eop_12_2<=1'b0;
        wr_eop_12_3<=1'b0;
        wr_eop_12_4<=1'b0;
        wr_eop_12_5<=1'b0;
        wr_eop_12_6<=1'b0;
        wr_eop_12_7<=1'b0;
        wr_eop_12_8<=1'b0;
        wr_eop_12_9<=1'b0;
        wr_eop_12_10<=1'b0;
        wr_eop_12_11<=1'b0;
        wr_eop_12_12<=1'b0;
        wr_eop_12_13<=1'b0;
        wr_eop_12_14<=1'b0;
        wr_eop_12_15<=1'b0;
        wr_data_12_0<=36'd0;
        wr_data_12_1<=36'd0;
        wr_data_12_2<=36'd0;
        wr_data_12_3<=36'd0;
        wr_data_12_4<=36'd0;
        wr_data_12_5<=36'd0;
        wr_data_12_6<=36'd0;
        wr_data_12_7<=36'd0;
        wr_data_12_8<=36'd0;
        wr_data_12_9<=36'd0;
        wr_data_12_10<=36'd0;
        wr_data_12_11<=36'd0;
        wr_data_12_12<=36'd0;
        wr_data_12_13<=36'd0;
        wr_data_12_14<=36'd0;
        wr_data_12_15<=36'd0;
        wr_vld_12_0<=1'b0;
        wr_vld_12_1<=1'b0;
        wr_vld_12_2<=1'b0;
        wr_vld_12_3<=1'b0;
        wr_vld_12_4<=1'b0;
        wr_vld_12_5<=1'b0;
        wr_vld_12_6<=1'b0;
        wr_vld_12_7<=1'b0;
        wr_vld_12_8<=1'b0;
        wr_vld_12_9<=1'b0;
        wr_vld_12_10<=1'b0;
        wr_vld_12_11<=1'b0;
        wr_vld_12_12<=1'b0;
        wr_vld_12_13<=1'b0;
        wr_vld_12_14<=1'b0;
        wr_vld_12_15<=1'b0;                   
        data_status_12_0<=1'b0;
        data_status_12_1<=1'b0;
        data_status_12_2<=1'b0;
        data_status_12_3<=1'b0;
        data_status_12_4<=1'b0;
        data_status_12_5<=1'b0;
        data_status_12_6<=1'b0;
        data_status_12_7<=1'b0;
        data_status_12_8<=1'b0;
        data_status_12_9<=1'b0;
        data_status_12_10<=1'b0;
        data_status_12_11<=1'b0;
        data_status_12_12<=1'b0;
        data_status_12_13<=1'b0;
        data_status_12_14<=1'b0;
        data_status_12_15<=1'b0;
    end
    else if(REQ12_1)begin
        case(de_cc_12.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[12]) begin
                    data_size_12_0<=de_cc_12.DATA_SIZE;
                    data_pri_12_0<=de_cc_12.DATA_PRIO;
                    wr_sop_12_0<=de_cc_12.WR_SOP;
                    wr_eop_12_0<=de_cc_12.WR_EOP;
                    wr_data_12_0<=de_cc_12.WR_DATA;
                    wr_vld_12_0<=de_cc_12.WR_VLD;
                    data_status_12_0<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_0<=de_cc_12.DATA_SIZE;
                    data_pri_12_0<=de_cc_12.DATA_PRIO;
                    wr_sop_12_0<=de_cc_12.WR_SOP;
                    wr_eop_12_0<=de_cc_12.WR_EOP;
                    wr_data_12_0<=de_cc_12.WR_DATA;
                    wr_vld_12_0<=de_cc_12.WR_VLD;
                    data_status_12_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[12]) begin
                    data_size_12_1<=de_cc_12.DATA_SIZE;
                    data_pri_12_1<=de_cc_12.DATA_PRIO;
                    wr_sop_12_1<=de_cc_12.WR_SOP;
                    wr_eop_12_1<=de_cc_12.WR_EOP;
                    wr_data_12_1<=de_cc_12.WR_DATA;
                    wr_vld_12_1<=de_cc_12.WR_VLD;
                    data_status_12_1<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_1<=de_cc_12.DATA_SIZE;
                    data_pri_12_1<=de_cc_12.DATA_PRIO;
                    wr_sop_12_1<=de_cc_12.WR_SOP;
                    wr_eop_12_1<=de_cc_12.WR_EOP;
                    wr_data_12_1<=de_cc_12.WR_DATA;
                    wr_vld_12_1<=de_cc_12.WR_VLD;
                    data_status_12_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[12]) begin
                    data_size_12_2<=de_cc_12.DATA_SIZE;
                    data_pri_12_2<=de_cc_12.DATA_PRIO;
                    wr_sop_12_2<=de_cc_12.WR_SOP;
                    wr_eop_12_2<=de_cc_12.WR_EOP;
                    wr_data_12_2<=de_cc_12.WR_DATA;
                    wr_vld_12_2<=de_cc_12.WR_VLD;
                    data_status_12_2<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_2<=de_cc_12.DATA_SIZE;
                    data_pri_12_2<=de_cc_12.DATA_PRIO;
                    wr_sop_12_2<=de_cc_12.WR_SOP;
                    wr_eop_12_2<=de_cc_12.WR_EOP;
                    wr_data_12_2<=de_cc_12.WR_DATA;
                    wr_vld_12_2<=de_cc_12.WR_VLD;
                    data_status_12_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[12]) begin
                    data_size_12_3<=de_cc_12.DATA_SIZE;
                    data_pri_12_3<=de_cc_12.DATA_PRIO;
                    wr_sop_12_3<=de_cc_12.WR_SOP;
                    wr_eop_12_3<=de_cc_12.WR_EOP;
                    wr_data_12_3<=de_cc_12.WR_DATA;
                    wr_vld_12_3<=de_cc_12.WR_VLD;
                    data_status_12_3<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_3<=de_cc_12.DATA_SIZE;
                    data_pri_12_3<=de_cc_12.DATA_PRIO;
                    wr_sop_12_3<=de_cc_12.WR_SOP;
                    wr_eop_12_3<=de_cc_12.WR_EOP;
                    wr_data_12_3<=de_cc_12.WR_DATA;
                    wr_vld_12_3<=de_cc_12.WR_VLD;
                    data_status_12_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[12]) begin
                    data_size_12_4<=de_cc_12.DATA_SIZE;
                    data_pri_12_4<=de_cc_12.DATA_PRIO;
                    wr_sop_12_4<=de_cc_12.WR_SOP;
                    wr_eop_12_4<=de_cc_12.WR_EOP;
                    wr_data_12_4<=de_cc_12.WR_DATA;
                    wr_vld_12_4<=de_cc_12.WR_VLD;
                    data_status_12_4<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_4<=de_cc_12.DATA_SIZE;
                    data_pri_12_4<=de_cc_12.DATA_PRIO;
                    wr_sop_12_4<=de_cc_12.WR_SOP;
                    wr_eop_12_4<=de_cc_12.WR_EOP;
                    wr_data_12_4<=de_cc_12.WR_DATA;
                    wr_vld_12_4<=de_cc_12.WR_VLD;
                    data_status_12_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[12]) begin
                    data_size_12_5<=de_cc_12.DATA_SIZE;
                    data_pri_12_5<=de_cc_12.DATA_PRIO;
                    wr_sop_12_5<=de_cc_12.WR_SOP;
                    wr_eop_12_5<=de_cc_12.WR_EOP;
                    wr_data_12_5<=de_cc_12.WR_DATA;
                    wr_vld_12_5<=de_cc_12.WR_VLD;
                    data_status_12_5<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_5<=de_cc_12.DATA_SIZE;
                    data_pri_12_5<=de_cc_12.DATA_PRIO;
                    wr_sop_12_5<=de_cc_12.WR_SOP;
                    wr_eop_12_5<=de_cc_12.WR_EOP;
                    wr_data_12_5<=de_cc_12.WR_DATA;
                    wr_vld_12_5<=de_cc_12.WR_VLD;
                    data_status_12_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[12]) begin
                    data_size_12_6<=de_cc_12.DATA_SIZE;
                    data_pri_12_6<=de_cc_12.DATA_PRIO;
                    wr_sop_12_6<=de_cc_12.WR_SOP;
                    wr_eop_12_6<=de_cc_12.WR_EOP;
                    wr_data_12_6<=de_cc_12.WR_DATA;
                    wr_vld_12_6<=de_cc_12.WR_VLD;
                    data_status_12_6<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_6<=de_cc_12.DATA_SIZE;
                    data_pri_12_6<=de_cc_12.DATA_PRIO;
                    wr_sop_12_6<=de_cc_12.WR_SOP;
                    wr_eop_12_6<=de_cc_12.WR_EOP;
                    wr_data_12_6<=de_cc_12.WR_DATA;
                    wr_vld_12_6<=de_cc_12.WR_VLD;
                    data_status_12_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[12]) begin
                    data_size_12_7<=de_cc_12.DATA_SIZE;
                    data_pri_12_7<=de_cc_12.DATA_PRIO;
                    wr_sop_12_7<=de_cc_12.WR_SOP;
                    wr_eop_12_7<=de_cc_12.WR_EOP;
                    wr_data_12_7<=de_cc_12.WR_DATA;
                    wr_vld_12_7<=de_cc_12.WR_VLD;
                    data_status_12_7<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_7<=de_cc_12.DATA_SIZE;
                    data_pri_12_7<=de_cc_12.DATA_PRIO;
                    wr_sop_12_7<=de_cc_12.WR_SOP;
                    wr_eop_12_7<=de_cc_12.WR_EOP;
                    wr_data_12_7<=de_cc_12.WR_DATA;
                    wr_vld_12_7<=de_cc_12.WR_VLD;
                    data_status_12_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[12]) begin
                    data_size_12_8<=de_cc_12.DATA_SIZE;
                    data_pri_12_8<=de_cc_12.DATA_PRIO;
                    wr_sop_12_8<=de_cc_12.WR_SOP;
                    wr_eop_12_8<=de_cc_12.WR_EOP;
                    wr_data_12_8<=de_cc_12.WR_DATA;
                    wr_vld_12_8<=de_cc_12.WR_VLD;
                    data_status_12_8<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_8<=de_cc_12.DATA_SIZE;
                    data_pri_12_8<=de_cc_12.DATA_PRIO;
                    wr_sop_12_8<=de_cc_12.WR_SOP;
                    wr_eop_12_8<=de_cc_12.WR_EOP;
                    wr_data_12_8<=de_cc_12.WR_DATA;
                    wr_vld_12_8<=de_cc_12.WR_VLD;
                    data_status_12_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[12]) begin
                    data_size_12_9<=de_cc_12.DATA_SIZE;
                    data_pri_12_9<=de_cc_12.DATA_PRIO;
                    wr_sop_12_9<=de_cc_12.WR_SOP;
                    wr_eop_12_9<=de_cc_12.WR_EOP;
                    wr_data_12_9<=de_cc_12.WR_DATA;
                    wr_vld_12_9<=de_cc_12.WR_VLD;
                    data_status_12_9<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_9<=de_cc_12.DATA_SIZE;
                    data_pri_12_9<=de_cc_12.DATA_PRIO;
                    wr_sop_12_9<=de_cc_12.WR_SOP;
                    wr_eop_12_9<=de_cc_12.WR_EOP;
                    wr_data_12_9<=de_cc_12.WR_DATA;
                    wr_vld_12_9<=de_cc_12.WR_VLD;
                    data_status_12_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[12]) begin
                    data_size_12_10<=de_cc_12.DATA_SIZE;
                    data_pri_12_10<=de_cc_12.DATA_PRIO;
                    wr_sop_12_10<=de_cc_12.WR_SOP;
                    wr_eop_12_10<=de_cc_12.WR_EOP;
                    wr_data_12_10<=de_cc_12.WR_DATA;
                    wr_vld_12_10<=de_cc_12.WR_VLD;
                    data_status_12_10<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_10<=de_cc_12.DATA_SIZE;
                    data_pri_12_10<=de_cc_12.DATA_PRIO;
                    wr_sop_12_10<=de_cc_12.WR_SOP;
                    wr_eop_12_10<=de_cc_12.WR_EOP;
                    wr_data_12_10<=de_cc_12.WR_DATA;
                    wr_vld_12_10<=de_cc_12.WR_VLD;
                    data_status_12_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[12]) begin
                    data_size_12_11<=de_cc_12.DATA_SIZE;
                    data_pri_12_11<=de_cc_12.DATA_PRIO;
                    wr_sop_12_11<=de_cc_12.WR_SOP;
                    wr_eop_12_11<=de_cc_12.WR_EOP;
                    wr_data_12_11<=de_cc_12.WR_DATA;
                    wr_vld_12_11<=de_cc_12.WR_VLD;
                    data_status_12_11<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_11<=de_cc_12.DATA_SIZE;
                    data_pri_12_11<=de_cc_12.DATA_PRIO;
                    wr_sop_12_11<=de_cc_12.WR_SOP;
                    wr_eop_12_11<=de_cc_12.WR_EOP;
                    wr_data_12_11<=de_cc_12.WR_DATA;
                    wr_vld_12_11<=de_cc_12.WR_VLD;
                    data_status_12_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[12]) begin
                    data_size_12_12<=de_cc_12.DATA_SIZE;
                    data_pri_12_12<=de_cc_12.DATA_PRIO;
                    wr_sop_12_12<=de_cc_12.WR_SOP;
                    wr_eop_12_12<=de_cc_12.WR_EOP;
                    wr_data_12_12<=de_cc_12.WR_DATA;
                    wr_vld_12_12<=de_cc_12.WR_VLD;
                    data_status_12_12<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_12<=de_cc_12.DATA_SIZE;
                    data_pri_12_12<=de_cc_12.DATA_PRIO;
                    wr_sop_12_12<=de_cc_12.WR_SOP;
                    wr_eop_12_12<=de_cc_12.WR_EOP;
                    wr_data_12_12<=de_cc_12.WR_DATA;
                    wr_vld_12_12<=de_cc_12.WR_VLD;
                    data_status_12_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[12]) begin
                    data_size_12_13<=de_cc_12.DATA_SIZE;
                    data_pri_12_13<=de_cc_12.DATA_PRIO;
                    wr_sop_12_13<=de_cc_12.WR_SOP;
                    wr_eop_12_13<=de_cc_12.WR_EOP;
                    wr_data_12_13<=de_cc_12.WR_DATA;
                    wr_vld_12_13<=de_cc_12.WR_VLD;
                    data_status_12_13<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_13<=de_cc_12.DATA_SIZE;
                    data_pri_12_13<=de_cc_12.DATA_PRIO;
                    wr_sop_12_13<=de_cc_12.WR_SOP;
                    wr_eop_12_13<=de_cc_12.WR_EOP;
                    wr_data_12_13<=de_cc_12.WR_DATA;
                    wr_vld_12_13<=de_cc_12.WR_VLD;
                    data_status_12_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[12]) begin
                    data_size_12_14<=de_cc_12.DATA_SIZE;
                    data_pri_12_14<=de_cc_12.DATA_PRIO;
                    wr_sop_12_14<=de_cc_12.WR_SOP;
                    wr_eop_12_14<=de_cc_12.WR_EOP;
                    wr_data_12_14<=de_cc_12.WR_DATA;
                    wr_vld_12_14<=de_cc_12.WR_VLD;
                    data_status_12_14<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_14<=de_cc_12.DATA_SIZE;
                    data_pri_12_14<=de_cc_12.DATA_PRIO;
                    wr_sop_12_14<=de_cc_12.WR_SOP;
                    wr_eop_12_14<=de_cc_12.WR_EOP;
                    wr_data_12_14<=de_cc_12.WR_DATA;
                    wr_vld_12_14<=de_cc_12.WR_VLD;
                    data_status_12_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[12]) begin
                    data_size_12_15<=de_cc_12.DATA_SIZE;
                    data_pri_12_15<=de_cc_12.DATA_PRIO;
                    wr_sop_12_15<=de_cc_12.WR_SOP;
                    wr_eop_12_15<=de_cc_12.WR_EOP;
                    wr_data_12_15<=de_cc_12.WR_DATA;
                    wr_vld_12_15<=de_cc_12.WR_VLD;
                    data_status_12_15<=1'b1;
                end
                else if(huan_cun[12]) begin
                    data_size_12_15<=de_cc_12.DATA_SIZE;
                    data_pri_12_15<=de_cc_12.DATA_PRIO;
                    wr_sop_12_15<=de_cc_12.WR_SOP;
                    wr_eop_12_15<=de_cc_12.WR_EOP;
                    wr_data_12_15<=de_cc_12.WR_DATA;
                    wr_vld_12_15<=de_cc_12.WR_VLD;
                    data_status_12_15<=1'b0;
                end
            end
            default:begin
                data_size_12_0<=11'd0;
                data_size_12_1<=11'd0;
                data_size_12_2<=11'd0;
                data_size_12_3<=11'd0;
                data_size_12_4<=11'd0;
                data_size_12_5<=11'd0;
                data_size_12_6<=11'd0;
                data_size_12_7<=11'd0;
                data_size_12_8<=11'd0;
                data_size_12_9<=11'd0;
                data_size_12_10<=11'd0;
                data_size_12_11<=11'd0;
                data_size_12_12<=11'd0;
                data_size_12_13<=11'd0;
                data_size_12_14<=11'd0;
                data_size_12_15<=11'd0;
                data_pri_12_0<=3'd0;
                data_pri_12_1<=3'd0;
                data_pri_12_2<=3'd0;
                data_pri_12_3<=3'd0;
                data_pri_12_4<=3'd0;
                data_pri_12_5<=3'd0;
                data_pri_12_6<=3'd0;
                data_pri_12_7<=3'd0;
                data_pri_12_8<=3'd0;
                data_pri_12_9<=3'd0;
                data_pri_12_10<=3'd0;
                data_pri_12_11<=3'd0;
                data_pri_12_12<=3'd0;
                data_pri_12_13<=3'd0;
                data_pri_12_14<=3'd0;
                data_pri_12_15<=3'd0;
                wr_sop_12_0<=1'b0;
                wr_sop_12_1<=1'b0;
                wr_sop_12_2<=1'b0;
                wr_sop_12_3<=1'b0;
                wr_sop_12_4<=1'b0;
                wr_sop_12_5<=1'b0;
                wr_sop_12_6<=1'b0;
                wr_sop_12_7<=1'b0;
                wr_sop_12_8<=1'b0;
                wr_sop_12_9<=1'b0;
                wr_sop_12_10<=1'b0;
                wr_sop_12_11<=1'b0;
                wr_sop_12_12<=1'b0;
                wr_sop_12_13<=1'b0;
                wr_sop_12_14<=1'b0;
                wr_sop_12_15<=1'b0;
                wr_eop_12_0<=1'b0;
                wr_eop_12_1<=1'b0;
                wr_eop_12_2<=1'b0;
                wr_eop_12_3<=1'b0;
                wr_eop_12_4<=1'b0;
                wr_eop_12_5<=1'b0;
                wr_eop_12_6<=1'b0;
                wr_eop_12_7<=1'b0;
                wr_eop_12_8<=1'b0;
                wr_eop_12_9<=1'b0;
                wr_eop_12_10<=1'b0;
                wr_eop_12_11<=1'b0;
                wr_eop_12_12<=1'b0;
                wr_eop_12_13<=1'b0;
                wr_eop_12_14<=1'b0;
                wr_eop_12_15<=1'b0;
                wr_data_12_0<=36'd0;
                wr_data_12_1<=36'd0;
                wr_data_12_2<=36'd0;
                wr_data_12_3<=36'd0;
                wr_data_12_4<=36'd0;
                wr_data_12_5<=36'd0;
                wr_data_12_6<=36'd0;
                wr_data_12_7<=36'd0;
                wr_data_12_8<=36'd0;
                wr_data_12_9<=36'd0;
                wr_data_12_10<=36'd0;
                wr_data_12_11<=36'd0;
                wr_data_12_12<=36'd0;
                wr_data_12_13<=36'd0;
                wr_data_12_14<=36'd0;
                wr_data_12_15<=36'd0;
                wr_vld_12_0<=1'b0;
                wr_vld_12_1<=1'b0;
                wr_vld_12_2<=1'b0;
                wr_vld_12_3<=1'b0;
                wr_vld_12_4<=1'b0;
                wr_vld_12_5<=1'b0;
                wr_vld_12_6<=1'b0;
                wr_vld_12_7<=1'b0;
                wr_vld_12_8<=1'b0;
                wr_vld_12_9<=1'b0;
                wr_vld_12_10<=1'b0;
                wr_vld_12_11<=1'b0;
                wr_vld_12_12<=1'b0;
                wr_vld_12_13<=1'b0;
                wr_vld_12_14<=1'b0;
                wr_vld_12_15<=1'b0;                   
                data_status_12_0<=1'b0;
                data_status_12_1<=1'b0;
                data_status_12_2<=1'b0;
                data_status_12_3<=1'b0;
                data_status_12_4<=1'b0;
                data_status_12_5<=1'b0;
                data_status_12_6<=1'b0;
                data_status_12_7<=1'b0;
                data_status_12_8<=1'b0;
                data_status_12_9<=1'b0;
                data_status_12_10<=1'b0;
                data_status_12_11<=1'b0;
                data_status_12_12<=1'b0;
                data_status_12_13<=1'b0;
                data_status_12_14<=1'b0;
                data_status_12_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_13_0<=11'd0;
        data_size_13_1<=11'd0;
        data_size_13_2<=11'd0;
        data_size_13_3<=11'd0;
        data_size_13_4<=11'd0;
        data_size_13_5<=11'd0;
        data_size_13_6<=11'd0;
        data_size_13_7<=11'd0;
        data_size_13_8<=11'd0;
        data_size_13_9<=11'd0;
        data_size_13_10<=11'd0;
        data_size_13_11<=11'd0;
        data_size_13_12<=11'd0;
        data_size_13_13<=11'd0;
        data_size_13_14<=11'd0;
        data_size_13_15<=11'd0;
        data_pri_13_0<=3'd0;
        data_pri_13_1<=3'd0;
        data_pri_13_2<=3'd0;
        data_pri_13_3<=3'd0;
        data_pri_13_4<=3'd0;
        data_pri_13_5<=3'd0;
        data_pri_13_6<=3'd0;
        data_pri_13_7<=3'd0;
        data_pri_13_8<=3'd0;
        data_pri_13_9<=3'd0;
        data_pri_13_10<=3'd0;
        data_pri_13_11<=3'd0;
        data_pri_13_12<=3'd0;
        data_pri_13_13<=3'd0;
        data_pri_13_14<=3'd0;
        data_pri_13_15<=3'd0;
        wr_sop_13_0<=1'b0;
        wr_sop_13_1<=1'b0;
        wr_sop_13_2<=1'b0;
        wr_sop_13_3<=1'b0;
        wr_sop_13_4<=1'b0;
        wr_sop_13_5<=1'b0;
        wr_sop_13_6<=1'b0;
        wr_sop_13_7<=1'b0;
        wr_sop_13_8<=1'b0;
        wr_sop_13_9<=1'b0;
        wr_sop_13_10<=1'b0;
        wr_sop_13_11<=1'b0;
        wr_sop_13_12<=1'b0;
        wr_sop_13_13<=1'b0;
        wr_sop_13_14<=1'b0;
        wr_sop_13_15<=1'b0;
        wr_eop_13_0<=1'b0;
        wr_eop_13_1<=1'b0;
        wr_eop_13_2<=1'b0;
        wr_eop_13_3<=1'b0;
        wr_eop_13_4<=1'b0;
        wr_eop_13_5<=1'b0;
        wr_eop_13_6<=1'b0;
        wr_eop_13_7<=1'b0;
        wr_eop_13_8<=1'b0;
        wr_eop_13_9<=1'b0;
        wr_eop_13_10<=1'b0;
        wr_eop_13_11<=1'b0;
        wr_eop_13_12<=1'b0;
        wr_eop_13_13<=1'b0;
        wr_eop_13_14<=1'b0;
        wr_eop_13_15<=1'b0;
        wr_data_13_0<=36'd0;
        wr_data_13_1<=36'd0;
        wr_data_13_2<=36'd0;
        wr_data_13_3<=36'd0;
        wr_data_13_4<=36'd0;
        wr_data_13_5<=36'd0;
        wr_data_13_6<=36'd0;
        wr_data_13_7<=36'd0;
        wr_data_13_8<=36'd0;
        wr_data_13_9<=36'd0;
        wr_data_13_10<=36'd0;
        wr_data_13_11<=36'd0;
        wr_data_13_12<=36'd0;
        wr_data_13_13<=36'd0;
        wr_data_13_14<=36'd0;
        wr_data_13_15<=36'd0;
        wr_vld_13_0<=1'b0;
        wr_vld_13_1<=1'b0;
        wr_vld_13_2<=1'b0;
        wr_vld_13_3<=1'b0;
        wr_vld_13_4<=1'b0;
        wr_vld_13_5<=1'b0;
        wr_vld_13_6<=1'b0;
        wr_vld_13_7<=1'b0;
        wr_vld_13_8<=1'b0;
        wr_vld_13_9<=1'b0;
        wr_vld_13_10<=1'b0;
        wr_vld_13_11<=1'b0;
        wr_vld_13_12<=1'b0;
        wr_vld_13_13<=1'b0;
        wr_vld_13_14<=1'b0;
        wr_vld_13_15<=1'b0;                   
        data_status_13_0<=1'b0;
        data_status_13_1<=1'b0;
        data_status_13_2<=1'b0;
        data_status_13_3<=1'b0;
        data_status_13_4<=1'b0;
        data_status_13_5<=1'b0;
        data_status_13_6<=1'b0;
        data_status_13_7<=1'b0;
        data_status_13_8<=1'b0;
        data_status_13_9<=1'b0;
        data_status_13_10<=1'b0;
        data_status_13_11<=1'b0;
        data_status_13_12<=1'b0;
        data_status_13_13<=1'b0;
        data_status_13_14<=1'b0;
        data_status_13_15<=1'b0;
    end
    else if(REQ13_1)begin
        case(de_cc_13.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[13]) begin
                    data_size_13_0<=de_cc_13.DATA_SIZE;
                    data_pri_13_0<=de_cc_13.DATA_PRIO;
                    wr_sop_13_0<=de_cc_13.WR_SOP;
                    wr_eop_13_0<=de_cc_13.WR_EOP;
                    wr_data_13_0<=de_cc_13.WR_DATA;
                    wr_vld_13_0<=de_cc_13.WR_VLD;
                    data_status_13_0<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_0<=de_cc_13.DATA_SIZE;
                    data_pri_13_0<=de_cc_13.DATA_PRIO;
                    wr_sop_13_0<=de_cc_13.WR_SOP;
                    wr_eop_13_0<=de_cc_13.WR_EOP;
                    wr_data_13_0<=de_cc_13.WR_DATA;
                    wr_vld_13_0<=de_cc_13.WR_VLD;
                    data_status_13_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[13]) begin
                    data_size_13_1<=de_cc_13.DATA_SIZE;
                    data_pri_13_1<=de_cc_13.DATA_PRIO;
                    wr_sop_13_1<=de_cc_13.WR_SOP;
                    wr_eop_13_1<=de_cc_13.WR_EOP;
                    wr_data_13_1<=de_cc_13.WR_DATA;
                    wr_vld_13_1<=de_cc_13.WR_VLD;
                    data_status_13_1<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_1<=de_cc_13.DATA_SIZE;
                    data_pri_13_1<=de_cc_13.DATA_PRIO;
                    wr_sop_13_1<=de_cc_13.WR_SOP;
                    wr_eop_13_1<=de_cc_13.WR_EOP;
                    wr_data_13_1<=de_cc_13.WR_DATA;
                    wr_vld_13_1<=de_cc_13.WR_VLD;
                    data_status_13_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[13]) begin
                    data_size_13_2<=de_cc_13.DATA_SIZE;
                    data_pri_13_2<=de_cc_13.DATA_PRIO;
                    wr_sop_13_2<=de_cc_13.WR_SOP;
                    wr_eop_13_2<=de_cc_13.WR_EOP;
                    wr_data_13_2<=de_cc_13.WR_DATA;
                    wr_vld_13_2<=de_cc_13.WR_VLD;
                    data_status_13_2<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_2<=de_cc_13.DATA_SIZE;
                    data_pri_13_2<=de_cc_13.DATA_PRIO;
                    wr_sop_13_2<=de_cc_13.WR_SOP;
                    wr_eop_13_2<=de_cc_13.WR_EOP;
                    wr_data_13_2<=de_cc_13.WR_DATA;
                    wr_vld_13_2<=de_cc_13.WR_VLD;
                    data_status_13_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[13]) begin
                    data_size_13_3<=de_cc_13.DATA_SIZE;
                    data_pri_13_3<=de_cc_13.DATA_PRIO;
                    wr_sop_13_3<=de_cc_13.WR_SOP;
                    wr_eop_13_3<=de_cc_13.WR_EOP;
                    wr_data_13_3<=de_cc_13.WR_DATA;
                    wr_vld_13_3<=de_cc_13.WR_VLD;
                    data_status_13_3<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_3<=de_cc_13.DATA_SIZE;
                    data_pri_13_3<=de_cc_13.DATA_PRIO;
                    wr_sop_13_3<=de_cc_13.WR_SOP;
                    wr_eop_13_3<=de_cc_13.WR_EOP;
                    wr_data_13_3<=de_cc_13.WR_DATA;
                    wr_vld_13_3<=de_cc_13.WR_VLD;
                    data_status_13_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[13]) begin
                    data_size_13_4<=de_cc_13.DATA_SIZE;
                    data_pri_13_4<=de_cc_13.DATA_PRIO;
                    wr_sop_13_4<=de_cc_13.WR_SOP;
                    wr_eop_13_4<=de_cc_13.WR_EOP;
                    wr_data_13_4<=de_cc_13.WR_DATA;
                    wr_vld_13_4<=de_cc_13.WR_VLD;
                    data_status_13_4<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_4<=de_cc_13.DATA_SIZE;
                    data_pri_13_4<=de_cc_13.DATA_PRIO;
                    wr_sop_13_4<=de_cc_13.WR_SOP;
                    wr_eop_13_4<=de_cc_13.WR_EOP;
                    wr_data_13_4<=de_cc_13.WR_DATA;
                    wr_vld_13_4<=de_cc_13.WR_VLD;
                    data_status_13_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[13]) begin
                    data_size_13_5<=de_cc_13.DATA_SIZE;
                    data_pri_13_5<=de_cc_13.DATA_PRIO;
                    wr_sop_13_5<=de_cc_13.WR_SOP;
                    wr_eop_13_5<=de_cc_13.WR_EOP;
                    wr_data_13_5<=de_cc_13.WR_DATA;
                    wr_vld_13_5<=de_cc_13.WR_VLD;
                    data_status_13_5<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_5<=de_cc_13.DATA_SIZE;
                    data_pri_13_5<=de_cc_13.DATA_PRIO;
                    wr_sop_13_5<=de_cc_13.WR_SOP;
                    wr_eop_13_5<=de_cc_13.WR_EOP;
                    wr_data_13_5<=de_cc_13.WR_DATA;
                    wr_vld_13_5<=de_cc_13.WR_VLD;
                    data_status_13_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[13]) begin
                    data_size_13_6<=de_cc_13.DATA_SIZE;
                    data_pri_13_6<=de_cc_13.DATA_PRIO;
                    wr_sop_13_6<=de_cc_13.WR_SOP;
                    wr_eop_13_6<=de_cc_13.WR_EOP;
                    wr_data_13_6<=de_cc_13.WR_DATA;
                    wr_vld_13_6<=de_cc_13.WR_VLD;
                    data_status_13_6<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_6<=de_cc_13.DATA_SIZE;
                    data_pri_13_6<=de_cc_13.DATA_PRIO;
                    wr_sop_13_6<=de_cc_13.WR_SOP;
                    wr_eop_13_6<=de_cc_13.WR_EOP;
                    wr_data_13_6<=de_cc_13.WR_DATA;
                    wr_vld_13_6<=de_cc_13.WR_VLD;
                    data_status_13_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[13]) begin
                    data_size_13_7<=de_cc_13.DATA_SIZE;
                    data_pri_13_7<=de_cc_13.DATA_PRIO;
                    wr_sop_13_7<=de_cc_13.WR_SOP;
                    wr_eop_13_7<=de_cc_13.WR_EOP;
                    wr_data_13_7<=de_cc_13.WR_DATA;
                    wr_vld_13_7<=de_cc_13.WR_VLD;
                    data_status_13_7<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_7<=de_cc_13.DATA_SIZE;
                    data_pri_13_7<=de_cc_13.DATA_PRIO;
                    wr_sop_13_7<=de_cc_13.WR_SOP;
                    wr_eop_13_7<=de_cc_13.WR_EOP;
                    wr_data_13_7<=de_cc_13.WR_DATA;
                    wr_vld_13_7<=de_cc_13.WR_VLD;
                    data_status_13_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[13]) begin
                    data_size_13_8<=de_cc_13.DATA_SIZE;
                    data_pri_13_8<=de_cc_13.DATA_PRIO;
                    wr_sop_13_8<=de_cc_13.WR_SOP;
                    wr_eop_13_8<=de_cc_13.WR_EOP;
                    wr_data_13_8<=de_cc_13.WR_DATA;
                    wr_vld_13_8<=de_cc_13.WR_VLD;
                    data_status_13_8<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_8<=de_cc_13.DATA_SIZE;
                    data_pri_13_8<=de_cc_13.DATA_PRIO;
                    wr_sop_13_8<=de_cc_13.WR_SOP;
                    wr_eop_13_8<=de_cc_13.WR_EOP;
                    wr_data_13_8<=de_cc_13.WR_DATA;
                    wr_vld_13_8<=de_cc_13.WR_VLD;
                    data_status_13_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[13]) begin
                    data_size_13_9<=de_cc_13.DATA_SIZE;
                    data_pri_13_9<=de_cc_13.DATA_PRIO;
                    wr_sop_13_9<=de_cc_13.WR_SOP;
                    wr_eop_13_9<=de_cc_13.WR_EOP;
                    wr_data_13_9<=de_cc_13.WR_DATA;
                    wr_vld_13_9<=de_cc_13.WR_VLD;
                    data_status_13_9<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_9<=de_cc_13.DATA_SIZE;
                    data_pri_13_9<=de_cc_13.DATA_PRIO;
                    wr_sop_13_9<=de_cc_13.WR_SOP;
                    wr_eop_13_9<=de_cc_13.WR_EOP;
                    wr_data_13_9<=de_cc_13.WR_DATA;
                    wr_vld_13_9<=de_cc_13.WR_VLD;
                    data_status_13_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[13]) begin
                    data_size_13_10<=de_cc_13.DATA_SIZE;
                    data_pri_13_10<=de_cc_13.DATA_PRIO;
                    wr_sop_13_10<=de_cc_13.WR_SOP;
                    wr_eop_13_10<=de_cc_13.WR_EOP;
                    wr_data_13_10<=de_cc_13.WR_DATA;
                    wr_vld_13_10<=de_cc_13.WR_VLD;
                    data_status_13_10<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_10<=de_cc_13.DATA_SIZE;
                    data_pri_13_10<=de_cc_13.DATA_PRIO;
                    wr_sop_13_10<=de_cc_13.WR_SOP;
                    wr_eop_13_10<=de_cc_13.WR_EOP;
                    wr_data_13_10<=de_cc_13.WR_DATA;
                    wr_vld_13_10<=de_cc_13.WR_VLD;
                    data_status_13_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[13]) begin
                    data_size_13_11<=de_cc_13.DATA_SIZE;
                    data_pri_13_11<=de_cc_13.DATA_PRIO;
                    wr_sop_13_11<=de_cc_13.WR_SOP;
                    wr_eop_13_11<=de_cc_13.WR_EOP;
                    wr_data_13_11<=de_cc_13.WR_DATA;
                    wr_vld_13_11<=de_cc_13.WR_VLD;
                    data_status_13_11<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_11<=de_cc_13.DATA_SIZE;
                    data_pri_13_11<=de_cc_13.DATA_PRIO;
                    wr_sop_13_11<=de_cc_13.WR_SOP;
                    wr_eop_13_11<=de_cc_13.WR_EOP;
                    wr_data_13_11<=de_cc_13.WR_DATA;
                    wr_vld_13_11<=de_cc_13.WR_VLD;
                    data_status_13_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[13]) begin
                    data_size_13_12<=de_cc_13.DATA_SIZE;
                    data_pri_13_12<=de_cc_13.DATA_PRIO;
                    wr_sop_13_12<=de_cc_13.WR_SOP;
                    wr_eop_13_12<=de_cc_13.WR_EOP;
                    wr_data_13_12<=de_cc_13.WR_DATA;
                    wr_vld_13_12<=de_cc_13.WR_VLD;
                    data_status_13_12<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_12<=de_cc_13.DATA_SIZE;
                    data_pri_13_12<=de_cc_13.DATA_PRIO;
                    wr_sop_13_12<=de_cc_13.WR_SOP;
                    wr_eop_13_12<=de_cc_13.WR_EOP;
                    wr_data_13_12<=de_cc_13.WR_DATA;
                    wr_vld_13_12<=de_cc_13.WR_VLD;
                    data_status_13_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[13]) begin
                    data_size_13_13<=de_cc_13.DATA_SIZE;
                    data_pri_13_13<=de_cc_13.DATA_PRIO;
                    wr_sop_13_13<=de_cc_13.WR_SOP;
                    wr_eop_13_13<=de_cc_13.WR_EOP;
                    wr_data_13_13<=de_cc_13.WR_DATA;
                    wr_vld_13_13<=de_cc_13.WR_VLD;
                    data_status_13_13<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_13<=de_cc_13.DATA_SIZE;
                    data_pri_13_13<=de_cc_13.DATA_PRIO;
                    wr_sop_13_13<=de_cc_13.WR_SOP;
                    wr_eop_13_13<=de_cc_13.WR_EOP;
                    wr_data_13_13<=de_cc_13.WR_DATA;
                    wr_vld_13_13<=de_cc_13.WR_VLD;
                    data_status_13_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[13]) begin
                    data_size_13_14<=de_cc_13.DATA_SIZE;
                    data_pri_13_14<=de_cc_13.DATA_PRIO;
                    wr_sop_13_14<=de_cc_13.WR_SOP;
                    wr_eop_13_14<=de_cc_13.WR_EOP;
                    wr_data_13_14<=de_cc_13.WR_DATA;
                    wr_vld_13_14<=de_cc_13.WR_VLD;
                    data_status_13_14<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_14<=de_cc_13.DATA_SIZE;
                    data_pri_13_14<=de_cc_13.DATA_PRIO;
                    wr_sop_13_14<=de_cc_13.WR_SOP;
                    wr_eop_13_14<=de_cc_13.WR_EOP;
                    wr_data_13_14<=de_cc_13.WR_DATA;
                    wr_vld_13_14<=de_cc_13.WR_VLD;
                    data_status_13_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[13]) begin
                    data_size_13_15<=de_cc_13.DATA_SIZE;
                    data_pri_13_15<=de_cc_13.DATA_PRIO;
                    wr_sop_13_15<=de_cc_13.WR_SOP;
                    wr_eop_13_15<=de_cc_13.WR_EOP;
                    wr_data_13_15<=de_cc_13.WR_DATA;
                    wr_vld_13_15<=de_cc_13.WR_VLD;
                    data_status_13_15<=1'b1;
                end
                else if(huan_cun[13]) begin
                    data_size_13_15<=de_cc_13.DATA_SIZE;
                    data_pri_13_15<=de_cc_13.DATA_PRIO;
                    wr_sop_13_15<=de_cc_13.WR_SOP;
                    wr_eop_13_15<=de_cc_13.WR_EOP;
                    wr_data_13_15<=de_cc_13.WR_DATA;
                    wr_vld_13_15<=de_cc_13.WR_VLD;
                    data_status_13_15<=1'b0;
                end
            end
            default:begin
                data_size_13_0<=11'd0;
                data_size_13_1<=11'd0;
                data_size_13_2<=11'd0;
                data_size_13_3<=11'd0;
                data_size_13_4<=11'd0;
                data_size_13_5<=11'd0;
                data_size_13_6<=11'd0;
                data_size_13_7<=11'd0;
                data_size_13_8<=11'd0;
                data_size_13_9<=11'd0;
                data_size_13_10<=11'd0;
                data_size_13_11<=11'd0;
                data_size_13_12<=11'd0;
                data_size_13_13<=11'd0;
                data_size_13_14<=11'd0;
                data_size_13_15<=11'd0;
                data_pri_13_0<=3'd0;
                data_pri_13_1<=3'd0;
                data_pri_13_2<=3'd0;
                data_pri_13_3<=3'd0;
                data_pri_13_4<=3'd0;
                data_pri_13_5<=3'd0;
                data_pri_13_6<=3'd0;
                data_pri_13_7<=3'd0;
                data_pri_13_8<=3'd0;
                data_pri_13_9<=3'd0;
                data_pri_13_10<=3'd0;
                data_pri_13_11<=3'd0;
                data_pri_13_12<=3'd0;
                data_pri_13_13<=3'd0;
                data_pri_13_14<=3'd0;
                data_pri_13_15<=3'd0;
                wr_sop_13_0<=1'b0;
                wr_sop_13_1<=1'b0;
                wr_sop_13_2<=1'b0;
                wr_sop_13_3<=1'b0;
                wr_sop_13_4<=1'b0;
                wr_sop_13_5<=1'b0;
                wr_sop_13_6<=1'b0;
                wr_sop_13_7<=1'b0;
                wr_sop_13_8<=1'b0;
                wr_sop_13_9<=1'b0;
                wr_sop_13_10<=1'b0;
                wr_sop_13_11<=1'b0;
                wr_sop_13_12<=1'b0;
                wr_sop_13_13<=1'b0;
                wr_sop_13_14<=1'b0;
                wr_sop_13_15<=1'b0;
                wr_eop_13_0<=1'b0;
                wr_eop_13_1<=1'b0;
                wr_eop_13_2<=1'b0;
                wr_eop_13_3<=1'b0;
                wr_eop_13_4<=1'b0;
                wr_eop_13_5<=1'b0;
                wr_eop_13_6<=1'b0;
                wr_eop_13_7<=1'b0;
                wr_eop_13_8<=1'b0;
                wr_eop_13_9<=1'b0;
                wr_eop_13_10<=1'b0;
                wr_eop_13_11<=1'b0;
                wr_eop_13_12<=1'b0;
                wr_eop_13_13<=1'b0;
                wr_eop_13_14<=1'b0;
                wr_eop_13_15<=1'b0;
                wr_data_13_0<=36'd0;
                wr_data_13_1<=36'd0;
                wr_data_13_2<=36'd0;
                wr_data_13_3<=36'd0;
                wr_data_13_4<=36'd0;
                wr_data_13_5<=36'd0;
                wr_data_13_6<=36'd0;
                wr_data_13_7<=36'd0;
                wr_data_13_8<=36'd0;
                wr_data_13_9<=36'd0;
                wr_data_13_10<=36'd0;
                wr_data_13_11<=36'd0;
                wr_data_13_12<=36'd0;
                wr_data_13_13<=36'd0;
                wr_data_13_14<=36'd0;
                wr_data_13_15<=36'd0;
                wr_vld_13_0<=1'b0;
                wr_vld_13_1<=1'b0;
                wr_vld_13_2<=1'b0;
                wr_vld_13_3<=1'b0;
                wr_vld_13_4<=1'b0;
                wr_vld_13_5<=1'b0;
                wr_vld_13_6<=1'b0;
                wr_vld_13_7<=1'b0;
                wr_vld_13_8<=1'b0;
                wr_vld_13_9<=1'b0;
                wr_vld_13_10<=1'b0;
                wr_vld_13_11<=1'b0;
                wr_vld_13_12<=1'b0;
                wr_vld_13_13<=1'b0;
                wr_vld_13_14<=1'b0;
                wr_vld_13_15<=1'b0;                   
                data_status_13_0<=1'b0;
                data_status_13_1<=1'b0;
                data_status_13_2<=1'b0;
                data_status_13_3<=1'b0;
                data_status_13_4<=1'b0;
                data_status_13_5<=1'b0;
                data_status_13_6<=1'b0;
                data_status_13_7<=1'b0;
                data_status_13_8<=1'b0;
                data_status_13_9<=1'b0;
                data_status_13_10<=1'b0;
                data_status_13_11<=1'b0;
                data_status_13_12<=1'b0;
                data_status_13_13<=1'b0;
                data_status_13_14<=1'b0;
                data_status_13_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_14_0<=11'd0;
        data_size_14_1<=11'd0;
        data_size_14_2<=11'd0;
        data_size_14_3<=11'd0;
        data_size_14_4<=11'd0;
        data_size_14_5<=11'd0;
        data_size_14_6<=11'd0;
        data_size_14_7<=11'd0;
        data_size_14_8<=11'd0;
        data_size_14_9<=11'd0;
        data_size_14_10<=11'd0;
        data_size_14_11<=11'd0;
        data_size_14_12<=11'd0;
        data_size_14_13<=11'd0;
        data_size_14_14<=11'd0;
        data_size_14_15<=11'd0;
        data_pri_14_0<=3'd0;
        data_pri_14_1<=3'd0;
        data_pri_14_2<=3'd0;
        data_pri_14_3<=3'd0;
        data_pri_14_4<=3'd0;
        data_pri_14_5<=3'd0;
        data_pri_14_6<=3'd0;
        data_pri_14_7<=3'd0;
        data_pri_14_8<=3'd0;
        data_pri_14_9<=3'd0;
        data_pri_14_10<=3'd0;
        data_pri_14_11<=3'd0;
        data_pri_14_12<=3'd0;
        data_pri_14_13<=3'd0;
        data_pri_14_14<=3'd0;
        data_pri_14_15<=3'd0;
        wr_sop_14_0<=1'b0;
        wr_sop_14_1<=1'b0;
        wr_sop_14_2<=1'b0;
        wr_sop_14_3<=1'b0;
        wr_sop_14_4<=1'b0;
        wr_sop_14_5<=1'b0;
        wr_sop_14_6<=1'b0;
        wr_sop_14_7<=1'b0;
        wr_sop_14_8<=1'b0;
        wr_sop_14_9<=1'b0;
        wr_sop_14_10<=1'b0;
        wr_sop_14_11<=1'b0;
        wr_sop_14_12<=1'b0;
        wr_sop_14_13<=1'b0;
        wr_sop_14_14<=1'b0;
        wr_sop_14_15<=1'b0;
        wr_eop_14_0<=1'b0;
        wr_eop_14_1<=1'b0;
        wr_eop_14_2<=1'b0;
        wr_eop_14_3<=1'b0;
        wr_eop_14_4<=1'b0;
        wr_eop_14_5<=1'b0;
        wr_eop_14_6<=1'b0;
        wr_eop_14_7<=1'b0;
        wr_eop_14_8<=1'b0;
        wr_eop_14_9<=1'b0;
        wr_eop_14_10<=1'b0;
        wr_eop_14_11<=1'b0;
        wr_eop_14_12<=1'b0;
        wr_eop_14_13<=1'b0;
        wr_eop_14_14<=1'b0;
        wr_eop_14_15<=1'b0;
        wr_data_14_0<=36'd0;
        wr_data_14_1<=36'd0;
        wr_data_14_2<=36'd0;
        wr_data_14_3<=36'd0;
        wr_data_14_4<=36'd0;
        wr_data_14_5<=36'd0;
        wr_data_14_6<=36'd0;
        wr_data_14_7<=36'd0;
        wr_data_14_8<=36'd0;
        wr_data_14_9<=36'd0;
        wr_data_14_10<=36'd0;
        wr_data_14_11<=36'd0;
        wr_data_14_12<=36'd0;
        wr_data_14_13<=36'd0;
        wr_data_14_14<=36'd0;
        wr_data_14_15<=36'd0;
        wr_vld_14_0<=1'b0;
        wr_vld_14_1<=1'b0;
        wr_vld_14_2<=1'b0;
        wr_vld_14_3<=1'b0;
        wr_vld_14_4<=1'b0;
        wr_vld_14_5<=1'b0;
        wr_vld_14_6<=1'b0;
        wr_vld_14_7<=1'b0;
        wr_vld_14_8<=1'b0;
        wr_vld_14_9<=1'b0;
        wr_vld_14_10<=1'b0;
        wr_vld_14_11<=1'b0;
        wr_vld_14_12<=1'b0;
        wr_vld_14_13<=1'b0;
        wr_vld_14_14<=1'b0;
        wr_vld_14_15<=1'b0;                   
        data_status_14_0<=1'b0;
        data_status_14_1<=1'b0;
        data_status_14_2<=1'b0;
        data_status_14_3<=1'b0;
        data_status_14_4<=1'b0;
        data_status_14_5<=1'b0;
        data_status_14_6<=1'b0;
        data_status_14_7<=1'b0;
        data_status_14_8<=1'b0;
        data_status_14_9<=1'b0;
        data_status_14_10<=1'b0;
        data_status_14_11<=1'b0;
        data_status_14_12<=1'b0;
        data_status_14_13<=1'b0;
        data_status_14_14<=1'b0;
        data_status_14_15<=1'b0;
    end
    else if(REQ14_1)begin
        case(de_cc_14.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[14]) begin
                    data_size_14_0<=de_cc_14.DATA_SIZE;
                    data_pri_14_0<=de_cc_14.DATA_PRIO;
                    wr_sop_14_0<=de_cc_14.WR_SOP;
                    wr_eop_14_0<=de_cc_14.WR_EOP;
                    wr_data_14_0<=de_cc_14.WR_DATA;
                    wr_vld_14_0<=de_cc_14.WR_VLD;
                    data_status_14_0<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_0<=de_cc_14.DATA_SIZE;
                    data_pri_14_0<=de_cc_14.DATA_PRIO;
                    wr_sop_14_0<=de_cc_14.WR_SOP;
                    wr_eop_14_0<=de_cc_14.WR_EOP;
                    wr_data_14_0<=de_cc_14.WR_DATA;
                    wr_vld_14_0<=de_cc_14.WR_VLD;
                    data_status_14_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[14]) begin
                    data_size_14_1<=de_cc_14.DATA_SIZE;
                    data_pri_14_1<=de_cc_14.DATA_PRIO;
                    wr_sop_14_1<=de_cc_14.WR_SOP;
                    wr_eop_14_1<=de_cc_14.WR_EOP;
                    wr_data_14_1<=de_cc_14.WR_DATA;
                    wr_vld_14_1<=de_cc_14.WR_VLD;
                    data_status_14_1<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_1<=de_cc_14.DATA_SIZE;
                    data_pri_14_1<=de_cc_14.DATA_PRIO;
                    wr_sop_14_1<=de_cc_14.WR_SOP;
                    wr_eop_14_1<=de_cc_14.WR_EOP;
                    wr_data_14_1<=de_cc_14.WR_DATA;
                    wr_vld_14_1<=de_cc_14.WR_VLD;
                    data_status_14_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[14]) begin
                    data_size_14_2<=de_cc_14.DATA_SIZE;
                    data_pri_14_2<=de_cc_14.DATA_PRIO;
                    wr_sop_14_2<=de_cc_14.WR_SOP;
                    wr_eop_14_2<=de_cc_14.WR_EOP;
                    wr_data_14_2<=de_cc_14.WR_DATA;
                    wr_vld_14_2<=de_cc_14.WR_VLD;
                    data_status_14_2<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_2<=de_cc_14.DATA_SIZE;
                    data_pri_14_2<=de_cc_14.DATA_PRIO;
                    wr_sop_14_2<=de_cc_14.WR_SOP;
                    wr_eop_14_2<=de_cc_14.WR_EOP;
                    wr_data_14_2<=de_cc_14.WR_DATA;
                    wr_vld_14_2<=de_cc_14.WR_VLD;
                    data_status_14_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[14]) begin
                    data_size_14_3<=de_cc_14.DATA_SIZE;
                    data_pri_14_3<=de_cc_14.DATA_PRIO;
                    wr_sop_14_3<=de_cc_14.WR_SOP;
                    wr_eop_14_3<=de_cc_14.WR_EOP;
                    wr_data_14_3<=de_cc_14.WR_DATA;
                    wr_vld_14_3<=de_cc_14.WR_VLD;
                    data_status_14_3<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_3<=de_cc_14.DATA_SIZE;
                    data_pri_14_3<=de_cc_14.DATA_PRIO;
                    wr_sop_14_3<=de_cc_14.WR_SOP;
                    wr_eop_14_3<=de_cc_14.WR_EOP;
                    wr_data_14_3<=de_cc_14.WR_DATA;
                    wr_vld_14_3<=de_cc_14.WR_VLD;
                    data_status_14_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[14]) begin
                    data_size_14_4<=de_cc_14.DATA_SIZE;
                    data_pri_14_4<=de_cc_14.DATA_PRIO;
                    wr_sop_14_4<=de_cc_14.WR_SOP;
                    wr_eop_14_4<=de_cc_14.WR_EOP;
                    wr_data_14_4<=de_cc_14.WR_DATA;
                    wr_vld_14_4<=de_cc_14.WR_VLD;
                    data_status_14_4<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_4<=de_cc_14.DATA_SIZE;
                    data_pri_14_4<=de_cc_14.DATA_PRIO;
                    wr_sop_14_4<=de_cc_14.WR_SOP;
                    wr_eop_14_4<=de_cc_14.WR_EOP;
                    wr_data_14_4<=de_cc_14.WR_DATA;
                    wr_vld_14_4<=de_cc_14.WR_VLD;
                    data_status_14_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[14]) begin
                    data_size_14_5<=de_cc_14.DATA_SIZE;
                    data_pri_14_5<=de_cc_14.DATA_PRIO;
                    wr_sop_14_5<=de_cc_14.WR_SOP;
                    wr_eop_14_5<=de_cc_14.WR_EOP;
                    wr_data_14_5<=de_cc_14.WR_DATA;
                    wr_vld_14_5<=de_cc_14.WR_VLD;
                    data_status_14_5<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_5<=de_cc_14.DATA_SIZE;
                    data_pri_14_5<=de_cc_14.DATA_PRIO;
                    wr_sop_14_5<=de_cc_14.WR_SOP;
                    wr_eop_14_5<=de_cc_14.WR_EOP;
                    wr_data_14_5<=de_cc_14.WR_DATA;
                    wr_vld_14_5<=de_cc_14.WR_VLD;
                    data_status_14_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[14]) begin
                    data_size_14_6<=de_cc_14.DATA_SIZE;
                    data_pri_14_6<=de_cc_14.DATA_PRIO;
                    wr_sop_14_6<=de_cc_14.WR_SOP;
                    wr_eop_14_6<=de_cc_14.WR_EOP;
                    wr_data_14_6<=de_cc_14.WR_DATA;
                    wr_vld_14_6<=de_cc_14.WR_VLD;
                    data_status_14_6<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_6<=de_cc_14.DATA_SIZE;
                    data_pri_14_6<=de_cc_14.DATA_PRIO;
                    wr_sop_14_6<=de_cc_14.WR_SOP;
                    wr_eop_14_6<=de_cc_14.WR_EOP;
                    wr_data_14_6<=de_cc_14.WR_DATA;
                    wr_vld_14_6<=de_cc_14.WR_VLD;
                    data_status_14_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[14]) begin
                    data_size_14_7<=de_cc_14.DATA_SIZE;
                    data_pri_14_7<=de_cc_14.DATA_PRIO;
                    wr_sop_14_7<=de_cc_14.WR_SOP;
                    wr_eop_14_7<=de_cc_14.WR_EOP;
                    wr_data_14_7<=de_cc_14.WR_DATA;
                    wr_vld_14_7<=de_cc_14.WR_VLD;
                    data_status_14_7<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_7<=de_cc_14.DATA_SIZE;
                    data_pri_14_7<=de_cc_14.DATA_PRIO;
                    wr_sop_14_7<=de_cc_14.WR_SOP;
                    wr_eop_14_7<=de_cc_14.WR_EOP;
                    wr_data_14_7<=de_cc_14.WR_DATA;
                    wr_vld_14_7<=de_cc_14.WR_VLD;
                    data_status_14_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[14]) begin
                    data_size_14_8<=de_cc_14.DATA_SIZE;
                    data_pri_14_8<=de_cc_14.DATA_PRIO;
                    wr_sop_14_8<=de_cc_14.WR_SOP;
                    wr_eop_14_8<=de_cc_14.WR_EOP;
                    wr_data_14_8<=de_cc_14.WR_DATA;
                    wr_vld_14_8<=de_cc_14.WR_VLD;
                    data_status_14_8<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_8<=de_cc_14.DATA_SIZE;
                    data_pri_14_8<=de_cc_14.DATA_PRIO;
                    wr_sop_14_8<=de_cc_14.WR_SOP;
                    wr_eop_14_8<=de_cc_14.WR_EOP;
                    wr_data_14_8<=de_cc_14.WR_DATA;
                    wr_vld_14_8<=de_cc_14.WR_VLD;
                    data_status_14_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[14]) begin
                    data_size_14_9<=de_cc_14.DATA_SIZE;
                    data_pri_14_9<=de_cc_14.DATA_PRIO;
                    wr_sop_14_9<=de_cc_14.WR_SOP;
                    wr_eop_14_9<=de_cc_14.WR_EOP;
                    wr_data_14_9<=de_cc_14.WR_DATA;
                    wr_vld_14_9<=de_cc_14.WR_VLD;
                    data_status_14_9<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_9<=de_cc_14.DATA_SIZE;
                    data_pri_14_9<=de_cc_14.DATA_PRIO;
                    wr_sop_14_9<=de_cc_14.WR_SOP;
                    wr_eop_14_9<=de_cc_14.WR_EOP;
                    wr_data_14_9<=de_cc_14.WR_DATA;
                    wr_vld_14_9<=de_cc_14.WR_VLD;
                    data_status_14_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[14]) begin
                    data_size_14_10<=de_cc_14.DATA_SIZE;
                    data_pri_14_10<=de_cc_14.DATA_PRIO;
                    wr_sop_14_10<=de_cc_14.WR_SOP;
                    wr_eop_14_10<=de_cc_14.WR_EOP;
                    wr_data_14_10<=de_cc_14.WR_DATA;
                    wr_vld_14_10<=de_cc_14.WR_VLD;
                    data_status_14_10<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_10<=de_cc_14.DATA_SIZE;
                    data_pri_14_10<=de_cc_14.DATA_PRIO;
                    wr_sop_14_10<=de_cc_14.WR_SOP;
                    wr_eop_14_10<=de_cc_14.WR_EOP;
                    wr_data_14_10<=de_cc_14.WR_DATA;
                    wr_vld_14_10<=de_cc_14.WR_VLD;
                    data_status_14_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[14]) begin
                    data_size_14_11<=de_cc_14.DATA_SIZE;
                    data_pri_14_11<=de_cc_14.DATA_PRIO;
                    wr_sop_14_11<=de_cc_14.WR_SOP;
                    wr_eop_14_11<=de_cc_14.WR_EOP;
                    wr_data_14_11<=de_cc_14.WR_DATA;
                    wr_vld_14_11<=de_cc_14.WR_VLD;
                    data_status_14_11<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_11<=de_cc_14.DATA_SIZE;
                    data_pri_14_11<=de_cc_14.DATA_PRIO;
                    wr_sop_14_11<=de_cc_14.WR_SOP;
                    wr_eop_14_11<=de_cc_14.WR_EOP;
                    wr_data_14_11<=de_cc_14.WR_DATA;
                    wr_vld_14_11<=de_cc_14.WR_VLD;
                    data_status_14_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[14]) begin
                    data_size_14_12<=de_cc_14.DATA_SIZE;
                    data_pri_14_12<=de_cc_14.DATA_PRIO;
                    wr_sop_14_12<=de_cc_14.WR_SOP;
                    wr_eop_14_12<=de_cc_14.WR_EOP;
                    wr_data_14_12<=de_cc_14.WR_DATA;
                    wr_vld_14_12<=de_cc_14.WR_VLD;
                    data_status_14_12<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_12<=de_cc_14.DATA_SIZE;
                    data_pri_14_12<=de_cc_14.DATA_PRIO;
                    wr_sop_14_12<=de_cc_14.WR_SOP;
                    wr_eop_14_12<=de_cc_14.WR_EOP;
                    wr_data_14_12<=de_cc_14.WR_DATA;
                    wr_vld_14_12<=de_cc_14.WR_VLD;
                    data_status_14_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[14]) begin
                    data_size_14_13<=de_cc_14.DATA_SIZE;
                    data_pri_14_13<=de_cc_14.DATA_PRIO;
                    wr_sop_14_13<=de_cc_14.WR_SOP;
                    wr_eop_14_13<=de_cc_14.WR_EOP;
                    wr_data_14_13<=de_cc_14.WR_DATA;
                    wr_vld_14_13<=de_cc_14.WR_VLD;
                    data_status_14_13<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_13<=de_cc_14.DATA_SIZE;
                    data_pri_14_13<=de_cc_14.DATA_PRIO;
                    wr_sop_14_13<=de_cc_14.WR_SOP;
                    wr_eop_14_13<=de_cc_14.WR_EOP;
                    wr_data_14_13<=de_cc_14.WR_DATA;
                    wr_vld_14_13<=de_cc_14.WR_VLD;
                    data_status_14_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[14]) begin
                    data_size_14_14<=de_cc_14.DATA_SIZE;
                    data_pri_14_14<=de_cc_14.DATA_PRIO;
                    wr_sop_14_14<=de_cc_14.WR_SOP;
                    wr_eop_14_14<=de_cc_14.WR_EOP;
                    wr_data_14_14<=de_cc_14.WR_DATA;
                    wr_vld_14_14<=de_cc_14.WR_VLD;
                    data_status_14_14<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_14<=de_cc_14.DATA_SIZE;
                    data_pri_14_14<=de_cc_14.DATA_PRIO;
                    wr_sop_14_14<=de_cc_14.WR_SOP;
                    wr_eop_14_14<=de_cc_14.WR_EOP;
                    wr_data_14_14<=de_cc_14.WR_DATA;
                    wr_vld_14_14<=de_cc_14.WR_VLD;
                    data_status_14_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[14]) begin
                    data_size_14_15<=de_cc_14.DATA_SIZE;
                    data_pri_14_15<=de_cc_14.DATA_PRIO;
                    wr_sop_14_15<=de_cc_14.WR_SOP;
                    wr_eop_14_15<=de_cc_14.WR_EOP;
                    wr_data_14_15<=de_cc_14.WR_DATA;
                    wr_vld_14_15<=de_cc_14.WR_VLD;
                    data_status_14_15<=1'b1;
                end
                else if(huan_cun[14]) begin
                    data_size_14_15<=de_cc_14.DATA_SIZE;
                    data_pri_14_15<=de_cc_14.DATA_PRIO;
                    wr_sop_14_15<=de_cc_14.WR_SOP;
                    wr_eop_14_15<=de_cc_14.WR_EOP;
                    wr_data_14_15<=de_cc_14.WR_DATA;
                    wr_vld_14_15<=de_cc_14.WR_VLD;
                    data_status_14_15<=1'b0;
                end
            end
            default:begin
                data_size_14_0<=11'd0;
                data_size_14_1<=11'd0;
                data_size_14_2<=11'd0;
                data_size_14_3<=11'd0;
                data_size_14_4<=11'd0;
                data_size_14_5<=11'd0;
                data_size_14_6<=11'd0;
                data_size_14_7<=11'd0;
                data_size_14_8<=11'd0;
                data_size_14_9<=11'd0;
                data_size_14_10<=11'd0;
                data_size_14_11<=11'd0;
                data_size_14_12<=11'd0;
                data_size_14_13<=11'd0;
                data_size_14_14<=11'd0;
                data_size_14_15<=11'd0;
                data_pri_14_0<=3'd0;
                data_pri_14_1<=3'd0;
                data_pri_14_2<=3'd0;
                data_pri_14_3<=3'd0;
                data_pri_14_4<=3'd0;
                data_pri_14_5<=3'd0;
                data_pri_14_6<=3'd0;
                data_pri_14_7<=3'd0;
                data_pri_14_8<=3'd0;
                data_pri_14_9<=3'd0;
                data_pri_14_10<=3'd0;
                data_pri_14_11<=3'd0;
                data_pri_14_12<=3'd0;
                data_pri_14_13<=3'd0;
                data_pri_14_14<=3'd0;
                data_pri_14_15<=3'd0;
                wr_sop_14_0<=1'b0;
                wr_sop_14_1<=1'b0;
                wr_sop_14_2<=1'b0;
                wr_sop_14_3<=1'b0;
                wr_sop_14_4<=1'b0;
                wr_sop_14_5<=1'b0;
                wr_sop_14_6<=1'b0;
                wr_sop_14_7<=1'b0;
                wr_sop_14_8<=1'b0;
                wr_sop_14_9<=1'b0;
                wr_sop_14_10<=1'b0;
                wr_sop_14_11<=1'b0;
                wr_sop_14_12<=1'b0;
                wr_sop_14_13<=1'b0;
                wr_sop_14_14<=1'b0;
                wr_sop_14_15<=1'b0;
                wr_eop_14_0<=1'b0;
                wr_eop_14_1<=1'b0;
                wr_eop_14_2<=1'b0;
                wr_eop_14_3<=1'b0;
                wr_eop_14_4<=1'b0;
                wr_eop_14_5<=1'b0;
                wr_eop_14_6<=1'b0;
                wr_eop_14_7<=1'b0;
                wr_eop_14_8<=1'b0;
                wr_eop_14_9<=1'b0;
                wr_eop_14_10<=1'b0;
                wr_eop_14_11<=1'b0;
                wr_eop_14_12<=1'b0;
                wr_eop_14_13<=1'b0;
                wr_eop_14_14<=1'b0;
                wr_eop_14_15<=1'b0;
                wr_data_14_0<=36'd0;
                wr_data_14_1<=36'd0;
                wr_data_14_2<=36'd0;
                wr_data_14_3<=36'd0;
                wr_data_14_4<=36'd0;
                wr_data_14_5<=36'd0;
                wr_data_14_6<=36'd0;
                wr_data_14_7<=36'd0;
                wr_data_14_8<=36'd0;
                wr_data_14_9<=36'd0;
                wr_data_14_10<=36'd0;
                wr_data_14_11<=36'd0;
                wr_data_14_12<=36'd0;
                wr_data_14_13<=36'd0;
                wr_data_14_14<=36'd0;
                wr_data_14_15<=36'd0;
                wr_vld_14_0<=1'b0;
                wr_vld_14_1<=1'b0;
                wr_vld_14_2<=1'b0;
                wr_vld_14_3<=1'b0;
                wr_vld_14_4<=1'b0;
                wr_vld_14_5<=1'b0;
                wr_vld_14_6<=1'b0;
                wr_vld_14_7<=1'b0;
                wr_vld_14_8<=1'b0;
                wr_vld_14_9<=1'b0;
                wr_vld_14_10<=1'b0;
                wr_vld_14_11<=1'b0;
                wr_vld_14_12<=1'b0;
                wr_vld_14_13<=1'b0;
                wr_vld_14_14<=1'b0;
                wr_vld_14_15<=1'b0;                   
                data_status_14_0<=1'b0;
                data_status_14_1<=1'b0;
                data_status_14_2<=1'b0;
                data_status_14_3<=1'b0;
                data_status_14_4<=1'b0;
                data_status_14_5<=1'b0;
                data_status_14_6<=1'b0;
                data_status_14_7<=1'b0;
                data_status_14_8<=1'b0;
                data_status_14_9<=1'b0;
                data_status_14_10<=1'b0;
                data_status_14_11<=1'b0;
                data_status_14_12<=1'b0;
                data_status_14_13<=1'b0;
                data_status_14_14<=1'b0;
                data_status_14_15<=1'b0;
            end
        endcase
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        data_size_15_0<=11'd0;
        data_size_15_1<=11'd0;
        data_size_15_2<=11'd0;
        data_size_15_3<=11'd0;
        data_size_15_4<=11'd0;
        data_size_15_5<=11'd0;
        data_size_15_6<=11'd0;
        data_size_15_7<=11'd0;
        data_size_15_8<=11'd0;
        data_size_15_9<=11'd0;
        data_size_15_10<=11'd0;
        data_size_15_11<=11'd0;
        data_size_15_12<=11'd0;
        data_size_15_13<=11'd0;
        data_size_15_14<=11'd0;
        data_size_15_15<=11'd0;
        data_pri_15_0<=3'd0;
        data_pri_15_1<=3'd0;
        data_pri_15_2<=3'd0;
        data_pri_15_3<=3'd0;
        data_pri_15_4<=3'd0;
        data_pri_15_5<=3'd0;
        data_pri_15_6<=3'd0;
        data_pri_15_7<=3'd0;
        data_pri_15_8<=3'd0;
        data_pri_15_9<=3'd0;
        data_pri_15_10<=3'd0;
        data_pri_15_11<=3'd0;
        data_pri_15_12<=3'd0;
        data_pri_15_13<=3'd0;
        data_pri_15_14<=3'd0;
        data_pri_15_15<=3'd0;
        wr_sop_15_0<=1'b0;
        wr_sop_15_1<=1'b0;
        wr_sop_15_2<=1'b0;
        wr_sop_15_3<=1'b0;
        wr_sop_15_4<=1'b0;
        wr_sop_15_5<=1'b0;
        wr_sop_15_6<=1'b0;
        wr_sop_15_7<=1'b0;
        wr_sop_15_8<=1'b0;
        wr_sop_15_9<=1'b0;
        wr_sop_15_10<=1'b0;
        wr_sop_15_11<=1'b0;
        wr_sop_15_12<=1'b0;
        wr_sop_15_13<=1'b0;
        wr_sop_15_14<=1'b0;
        wr_sop_15_15<=1'b0;
        wr_eop_15_0<=1'b0;
        wr_eop_15_1<=1'b0;
        wr_eop_15_2<=1'b0;
        wr_eop_15_3<=1'b0;
        wr_eop_15_4<=1'b0;
        wr_eop_15_5<=1'b0;
        wr_eop_15_6<=1'b0;
        wr_eop_15_7<=1'b0;
        wr_eop_15_8<=1'b0;
        wr_eop_15_9<=1'b0;
        wr_eop_15_10<=1'b0;
        wr_eop_15_11<=1'b0;
        wr_eop_15_12<=1'b0;
        wr_eop_15_13<=1'b0;
        wr_eop_15_14<=1'b0;
        wr_eop_15_15<=1'b0;
        wr_data_15_0<=36'd0;
        wr_data_15_1<=36'd0;
        wr_data_15_2<=36'd0;
        wr_data_15_3<=36'd0;
        wr_data_15_4<=36'd0;
        wr_data_15_5<=36'd0;
        wr_data_15_6<=36'd0;
        wr_data_15_7<=36'd0;
        wr_data_15_8<=36'd0;
        wr_data_15_9<=36'd0;
        wr_data_15_10<=36'd0;
        wr_data_15_11<=36'd0;
        wr_data_15_12<=36'd0;
        wr_data_15_13<=36'd0;
        wr_data_15_14<=36'd0;
        wr_data_15_15<=36'd0;
        wr_vld_15_0<=1'b0;
        wr_vld_15_1<=1'b0;
        wr_vld_15_2<=1'b0;
        wr_vld_15_3<=1'b0;
        wr_vld_15_4<=1'b0;
        wr_vld_15_5<=1'b0;
        wr_vld_15_6<=1'b0;
        wr_vld_15_7<=1'b0;
        wr_vld_15_8<=1'b0;
        wr_vld_15_9<=1'b0;
        wr_vld_15_10<=1'b0;
        wr_vld_15_11<=1'b0;
        wr_vld_15_12<=1'b0;
        wr_vld_15_13<=1'b0;
        wr_vld_15_14<=1'b0;
        wr_vld_15_15<=1'b0;                   
        data_status_15_0<=1'b0;
        data_status_15_1<=1'b0;
        data_status_15_2<=1'b0;
        data_status_15_3<=1'b0;
        data_status_15_4<=1'b0;
        data_status_15_5<=1'b0;
        data_status_15_6<=1'b0;
        data_status_15_7<=1'b0;
        data_status_15_8<=1'b0;
        data_status_15_9<=1'b0;
        data_status_15_10<=1'b0;
        data_status_15_11<=1'b0;
        data_status_15_12<=1'b0;
        data_status_15_13<=1'b0;
        data_status_15_14<=1'b0;
        data_status_15_15<=1'b0;
    end
    else if(REQ15_1)begin
        case(de_cc_15.DATA_DEST)
            4'd0:begin
                if(zhi_chuan[15]) begin
                    data_size_15_0<=de_cc_15.DATA_SIZE;
                    data_pri_15_0<=de_cc_15.DATA_PRIO;
                    wr_sop_15_0<=de_cc_15.WR_SOP;
                    wr_eop_15_0<=de_cc_15.WR_EOP;
                    wr_data_15_0<=de_cc_15.WR_DATA;
                    wr_vld_15_0<=de_cc_15.WR_VLD;
                    data_status_15_0<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_0<=de_cc_15.DATA_SIZE;
                    data_pri_15_0<=de_cc_15.DATA_PRIO;
                    wr_sop_15_0<=de_cc_15.WR_SOP;
                    wr_eop_15_0<=de_cc_15.WR_EOP;
                    wr_data_15_0<=de_cc_15.WR_DATA;
                    wr_vld_15_0<=de_cc_15.WR_VLD;
                    data_status_15_0<=1'b0;
                end
            end
            4'd1:begin
                if(zhi_chuan[15]) begin
                    data_size_15_1<=de_cc_15.DATA_SIZE;
                    data_pri_15_1<=de_cc_15.DATA_PRIO;
                    wr_sop_15_1<=de_cc_15.WR_SOP;
                    wr_eop_15_1<=de_cc_15.WR_EOP;
                    wr_data_15_1<=de_cc_15.WR_DATA;
                    wr_vld_15_1<=de_cc_15.WR_VLD;
                    data_status_15_1<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_1<=de_cc_15.DATA_SIZE;
                    data_pri_15_1<=de_cc_15.DATA_PRIO;
                    wr_sop_15_1<=de_cc_15.WR_SOP;
                    wr_eop_15_1<=de_cc_15.WR_EOP;
                    wr_data_15_1<=de_cc_15.WR_DATA;
                    wr_vld_15_1<=de_cc_15.WR_VLD;
                    data_status_15_1<=1'b0;
                end
            end
            4'd2:begin
                if(zhi_chuan[15]) begin
                    data_size_15_2<=de_cc_15.DATA_SIZE;
                    data_pri_15_2<=de_cc_15.DATA_PRIO;
                    wr_sop_15_2<=de_cc_15.WR_SOP;
                    wr_eop_15_2<=de_cc_15.WR_EOP;
                    wr_data_15_2<=de_cc_15.WR_DATA;
                    wr_vld_15_2<=de_cc_15.WR_VLD;
                    data_status_15_2<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_2<=de_cc_15.DATA_SIZE;
                    data_pri_15_2<=de_cc_15.DATA_PRIO;
                    wr_sop_15_2<=de_cc_15.WR_SOP;
                    wr_eop_15_2<=de_cc_15.WR_EOP;
                    wr_data_15_2<=de_cc_15.WR_DATA;
                    wr_vld_15_2<=de_cc_15.WR_VLD;
                    data_status_15_2<=1'b0;
                end
            end
            4'd3:begin
                if(zhi_chuan[15]) begin
                    data_size_15_3<=de_cc_15.DATA_SIZE;
                    data_pri_15_3<=de_cc_15.DATA_PRIO;
                    wr_sop_15_3<=de_cc_15.WR_SOP;
                    wr_eop_15_3<=de_cc_15.WR_EOP;
                    wr_data_15_3<=de_cc_15.WR_DATA;
                    wr_vld_15_3<=de_cc_15.WR_VLD;
                    data_status_15_3<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_3<=de_cc_15.DATA_SIZE;
                    data_pri_15_3<=de_cc_15.DATA_PRIO;
                    wr_sop_15_3<=de_cc_15.WR_SOP;
                    wr_eop_15_3<=de_cc_15.WR_EOP;
                    wr_data_15_3<=de_cc_15.WR_DATA;
                    wr_vld_15_3<=de_cc_15.WR_VLD;
                    data_status_15_3<=1'b0;
                end
            end
            4'd4:begin
                if(zhi_chuan[15]) begin
                    data_size_15_4<=de_cc_15.DATA_SIZE;
                    data_pri_15_4<=de_cc_15.DATA_PRIO;
                    wr_sop_15_4<=de_cc_15.WR_SOP;
                    wr_eop_15_4<=de_cc_15.WR_EOP;
                    wr_data_15_4<=de_cc_15.WR_DATA;
                    wr_vld_15_4<=de_cc_15.WR_VLD;
                    data_status_15_4<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_4<=de_cc_15.DATA_SIZE;
                    data_pri_15_4<=de_cc_15.DATA_PRIO;
                    wr_sop_15_4<=de_cc_15.WR_SOP;
                    wr_eop_15_4<=de_cc_15.WR_EOP;
                    wr_data_15_4<=de_cc_15.WR_DATA;
                    wr_vld_15_4<=de_cc_15.WR_VLD;
                    data_status_15_4<=1'b0;
                end
            end
            4'd5:begin
                if(zhi_chuan[15]) begin
                    data_size_15_5<=de_cc_15.DATA_SIZE;
                    data_pri_15_5<=de_cc_15.DATA_PRIO;
                    wr_sop_15_5<=de_cc_15.WR_SOP;
                    wr_eop_15_5<=de_cc_15.WR_EOP;
                    wr_data_15_5<=de_cc_15.WR_DATA;
                    wr_vld_15_5<=de_cc_15.WR_VLD;
                    data_status_15_5<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_5<=de_cc_15.DATA_SIZE;
                    data_pri_15_5<=de_cc_15.DATA_PRIO;
                    wr_sop_15_5<=de_cc_15.WR_SOP;
                    wr_eop_15_5<=de_cc_15.WR_EOP;
                    wr_data_15_5<=de_cc_15.WR_DATA;
                    wr_vld_15_5<=de_cc_15.WR_VLD;
                    data_status_15_5<=1'b0;
                end
            end
            4'd6:begin
                if(zhi_chuan[15]) begin
                    data_size_15_6<=de_cc_15.DATA_SIZE;
                    data_pri_15_6<=de_cc_15.DATA_PRIO;
                    wr_sop_15_6<=de_cc_15.WR_SOP;
                    wr_eop_15_6<=de_cc_15.WR_EOP;
                    wr_data_15_6<=de_cc_15.WR_DATA;
                    wr_vld_15_6<=de_cc_15.WR_VLD;
                    data_status_15_6<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_6<=de_cc_15.DATA_SIZE;
                    data_pri_15_6<=de_cc_15.DATA_PRIO;
                    wr_sop_15_6<=de_cc_15.WR_SOP;
                    wr_eop_15_6<=de_cc_15.WR_EOP;
                    wr_data_15_6<=de_cc_15.WR_DATA;
                    wr_vld_15_6<=de_cc_15.WR_VLD;
                    data_status_15_6<=1'b0;
                end
            end
            4'd7:begin
                if(zhi_chuan[15]) begin
                    data_size_15_7<=de_cc_15.DATA_SIZE;
                    data_pri_15_7<=de_cc_15.DATA_PRIO;
                    wr_sop_15_7<=de_cc_15.WR_SOP;
                    wr_eop_15_7<=de_cc_15.WR_EOP;
                    wr_data_15_7<=de_cc_15.WR_DATA;
                    wr_vld_15_7<=de_cc_15.WR_VLD;
                    data_status_15_7<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_7<=de_cc_15.DATA_SIZE;
                    data_pri_15_7<=de_cc_15.DATA_PRIO;
                    wr_sop_15_7<=de_cc_15.WR_SOP;
                    wr_eop_15_7<=de_cc_15.WR_EOP;
                    wr_data_15_7<=de_cc_15.WR_DATA;
                    wr_vld_15_7<=de_cc_15.WR_VLD;
                    data_status_15_7<=1'b0;
                end
            end
            4'd8:begin
                if(zhi_chuan[15]) begin
                    data_size_15_8<=de_cc_15.DATA_SIZE;
                    data_pri_15_8<=de_cc_15.DATA_PRIO;
                    wr_sop_15_8<=de_cc_15.WR_SOP;
                    wr_eop_15_8<=de_cc_15.WR_EOP;
                    wr_data_15_8<=de_cc_15.WR_DATA;
                    wr_vld_15_8<=de_cc_15.WR_VLD;
                    data_status_15_8<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_8<=de_cc_15.DATA_SIZE;
                    data_pri_15_8<=de_cc_15.DATA_PRIO;
                    wr_sop_15_8<=de_cc_15.WR_SOP;
                    wr_eop_15_8<=de_cc_15.WR_EOP;
                    wr_data_15_8<=de_cc_15.WR_DATA;
                    wr_vld_15_8<=de_cc_15.WR_VLD;
                    data_status_15_8<=1'b0;
                end
            end
            4'd9:begin
                if(zhi_chuan[15]) begin
                    data_size_15_9<=de_cc_15.DATA_SIZE;
                    data_pri_15_9<=de_cc_15.DATA_PRIO;
                    wr_sop_15_9<=de_cc_15.WR_SOP;
                    wr_eop_15_9<=de_cc_15.WR_EOP;
                    wr_data_15_9<=de_cc_15.WR_DATA;
                    wr_vld_15_9<=de_cc_15.WR_VLD;
                    data_status_15_9<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_9<=de_cc_15.DATA_SIZE;
                    data_pri_15_9<=de_cc_15.DATA_PRIO;
                    wr_sop_15_9<=de_cc_15.WR_SOP;
                    wr_eop_15_9<=de_cc_15.WR_EOP;
                    wr_data_15_9<=de_cc_15.WR_DATA;
                    wr_vld_15_9<=de_cc_15.WR_VLD;
                    data_status_15_9<=1'b0;
                end
            end
            4'd10:begin
                if(zhi_chuan[15]) begin
                    data_size_15_10<=de_cc_15.DATA_SIZE;
                    data_pri_15_10<=de_cc_15.DATA_PRIO;
                    wr_sop_15_10<=de_cc_15.WR_SOP;
                    wr_eop_15_10<=de_cc_15.WR_EOP;
                    wr_data_15_10<=de_cc_15.WR_DATA;
                    wr_vld_15_10<=de_cc_15.WR_VLD;
                    data_status_15_10<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_10<=de_cc_15.DATA_SIZE;
                    data_pri_15_10<=de_cc_15.DATA_PRIO;
                    wr_sop_15_10<=de_cc_15.WR_SOP;
                    wr_eop_15_10<=de_cc_15.WR_EOP;
                    wr_data_15_10<=de_cc_15.WR_DATA;
                    wr_vld_15_10<=de_cc_15.WR_VLD;
                    data_status_15_10<=1'b0;
                end
            end
            4'd11:begin
                if(zhi_chuan[15]) begin
                    data_size_15_11<=de_cc_15.DATA_SIZE;
                    data_pri_15_11<=de_cc_15.DATA_PRIO;
                    wr_sop_15_11<=de_cc_15.WR_SOP;
                    wr_eop_15_11<=de_cc_15.WR_EOP;
                    wr_data_15_11<=de_cc_15.WR_DATA;
                    wr_vld_15_11<=de_cc_15.WR_VLD;
                    data_status_15_11<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_11<=de_cc_15.DATA_SIZE;
                    data_pri_15_11<=de_cc_15.DATA_PRIO;
                    wr_sop_15_11<=de_cc_15.WR_SOP;
                    wr_eop_15_11<=de_cc_15.WR_EOP;
                    wr_data_15_11<=de_cc_15.WR_DATA;
                    wr_vld_15_11<=de_cc_15.WR_VLD;
                    data_status_15_11<=1'b0;
                end
            end
            4'd12:begin
                if(zhi_chuan[15]) begin
                    data_size_15_12<=de_cc_15.DATA_SIZE;
                    data_pri_15_12<=de_cc_15.DATA_PRIO;
                    wr_sop_15_12<=de_cc_15.WR_SOP;
                    wr_eop_15_12<=de_cc_15.WR_EOP;
                    wr_data_15_12<=de_cc_15.WR_DATA;
                    wr_vld_15_12<=de_cc_15.WR_VLD;
                    data_status_15_12<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_12<=de_cc_15.DATA_SIZE;
                    data_pri_15_12<=de_cc_15.DATA_PRIO;
                    wr_sop_15_12<=de_cc_15.WR_SOP;
                    wr_eop_15_12<=de_cc_15.WR_EOP;
                    wr_data_15_12<=de_cc_15.WR_DATA;
                    wr_vld_15_12<=de_cc_15.WR_VLD;
                    data_status_15_12<=1'b0;
                end
            end
            4'd13:begin
                if(zhi_chuan[15]) begin
                    data_size_15_13<=de_cc_15.DATA_SIZE;
                    data_pri_15_13<=de_cc_15.DATA_PRIO;
                    wr_sop_15_13<=de_cc_15.WR_SOP;
                    wr_eop_15_13<=de_cc_15.WR_EOP;
                    wr_data_15_13<=de_cc_15.WR_DATA;
                    wr_vld_15_13<=de_cc_15.WR_VLD;
                    data_status_15_13<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_13<=de_cc_15.DATA_SIZE;
                    data_pri_15_13<=de_cc_15.DATA_PRIO;
                    wr_sop_15_13<=de_cc_15.WR_SOP;
                    wr_eop_15_13<=de_cc_15.WR_EOP;
                    wr_data_15_13<=de_cc_15.WR_DATA;
                    wr_vld_15_13<=de_cc_15.WR_VLD;
                    data_status_15_13<=1'b0;
                end
            end
            4'd14:begin
                if(zhi_chuan[15]) begin
                    data_size_15_14<=de_cc_15.DATA_SIZE;
                    data_pri_15_14<=de_cc_15.DATA_PRIO;
                    wr_sop_15_14<=de_cc_15.WR_SOP;
                    wr_eop_15_14<=de_cc_15.WR_EOP;
                    wr_data_15_14<=de_cc_15.WR_DATA;
                    wr_vld_15_14<=de_cc_15.WR_VLD;
                    data_status_15_14<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_14<=de_cc_15.DATA_SIZE;
                    data_pri_15_14<=de_cc_15.DATA_PRIO;
                    wr_sop_15_14<=de_cc_15.WR_SOP;
                    wr_eop_15_14<=de_cc_15.WR_EOP;
                    wr_data_15_14<=de_cc_15.WR_DATA;
                    wr_vld_15_14<=de_cc_15.WR_VLD;
                    data_status_15_14<=1'b0;
                end
            end
            4'd15:begin
                if(zhi_chuan[15]) begin
                    data_size_15_15<=de_cc_15.DATA_SIZE;
                    data_pri_15_15<=de_cc_15.DATA_PRIO;
                    wr_sop_15_15<=de_cc_15.WR_SOP;
                    wr_eop_15_15<=de_cc_15.WR_EOP;
                    wr_data_15_15<=de_cc_15.WR_DATA;
                    wr_vld_15_15<=de_cc_15.WR_VLD;
                    data_status_15_15<=1'b1;
                end
                else if(huan_cun[15]) begin
                    data_size_15_15<=de_cc_15.DATA_SIZE;
                    data_pri_15_15<=de_cc_15.DATA_PRIO;
                    wr_sop_15_15<=de_cc_15.WR_SOP;
                    wr_eop_15_15<=de_cc_15.WR_EOP;
                    wr_data_15_15<=de_cc_15.WR_DATA;
                    wr_vld_15_15<=de_cc_15.WR_VLD;
                    data_status_15_15<=1'b0;
                end
            end
            default:begin
                data_size_15_0<=11'd0;
                data_size_15_1<=11'd0;
                data_size_15_2<=11'd0;
                data_size_15_3<=11'd0;
                data_size_15_4<=11'd0;
                data_size_15_5<=11'd0;
                data_size_15_6<=11'd0;
                data_size_15_7<=11'd0;
                data_size_15_8<=11'd0;
                data_size_15_9<=11'd0;
                data_size_15_10<=11'd0;
                data_size_15_11<=11'd0;
                data_size_15_12<=11'd0;
                data_size_15_13<=11'd0;
                data_size_15_14<=11'd0;
                data_size_15_15<=11'd0;
                data_pri_15_0<=3'd0;
                data_pri_15_1<=3'd0;
                data_pri_15_2<=3'd0;
                data_pri_15_3<=3'd0;
                data_pri_15_4<=3'd0;
                data_pri_15_5<=3'd0;
                data_pri_15_6<=3'd0;
                data_pri_15_7<=3'd0;
                data_pri_15_8<=3'd0;
                data_pri_15_9<=3'd0;
                data_pri_15_10<=3'd0;
                data_pri_15_11<=3'd0;
                data_pri_15_12<=3'd0;
                data_pri_15_13<=3'd0;
                data_pri_15_14<=3'd0;
                data_pri_15_15<=3'd0;
                wr_sop_15_0<=1'b0;
                wr_sop_15_1<=1'b0;
                wr_sop_15_2<=1'b0;
                wr_sop_15_3<=1'b0;
                wr_sop_15_4<=1'b0;
                wr_sop_15_5<=1'b0;
                wr_sop_15_6<=1'b0;
                wr_sop_15_7<=1'b0;
                wr_sop_15_8<=1'b0;
                wr_sop_15_9<=1'b0;
                wr_sop_15_10<=1'b0;
                wr_sop_15_11<=1'b0;
                wr_sop_15_12<=1'b0;
                wr_sop_15_13<=1'b0;
                wr_sop_15_14<=1'b0;
                wr_sop_15_15<=1'b0;
                wr_eop_15_0<=1'b0;
                wr_eop_15_1<=1'b0;
                wr_eop_15_2<=1'b0;
                wr_eop_15_3<=1'b0;
                wr_eop_15_4<=1'b0;
                wr_eop_15_5<=1'b0;
                wr_eop_15_6<=1'b0;
                wr_eop_15_7<=1'b0;
                wr_eop_15_8<=1'b0;
                wr_eop_15_9<=1'b0;
                wr_eop_15_10<=1'b0;
                wr_eop_15_11<=1'b0;
                wr_eop_15_12<=1'b0;
                wr_eop_15_13<=1'b0;
                wr_eop_15_14<=1'b0;
                wr_eop_15_15<=1'b0;
                wr_data_15_0<=36'd0;
                wr_data_15_1<=36'd0;
                wr_data_15_2<=36'd0;
                wr_data_15_3<=36'd0;
                wr_data_15_4<=36'd0;
                wr_data_15_5<=36'd0;
                wr_data_15_6<=36'd0;
                wr_data_15_7<=36'd0;
                wr_data_15_8<=36'd0;
                wr_data_15_9<=36'd0;
                wr_data_15_10<=36'd0;
                wr_data_15_11<=36'd0;
                wr_data_15_12<=36'd0;
                wr_data_15_13<=36'd0;
                wr_data_15_14<=36'd0;
                wr_data_15_15<=36'd0;
                wr_vld_15_0<=1'b0;
                wr_vld_15_1<=1'b0;
                wr_vld_15_2<=1'b0;
                wr_vld_15_3<=1'b0;
                wr_vld_15_4<=1'b0;
                wr_vld_15_5<=1'b0;
                wr_vld_15_6<=1'b0;
                wr_vld_15_7<=1'b0;
                wr_vld_15_8<=1'b0;
                wr_vld_15_9<=1'b0;
                wr_vld_15_10<=1'b0;
                wr_vld_15_11<=1'b0;
                wr_vld_15_12<=1'b0;
                wr_vld_15_13<=1'b0;
                wr_vld_15_14<=1'b0;
                wr_vld_15_15<=1'b0;                   
                data_status_15_0<=1'b0;
                data_status_15_1<=1'b0;
                data_status_15_2<=1'b0;
                data_status_15_3<=1'b0;
                data_status_15_4<=1'b0;
                data_status_15_5<=1'b0;
                data_status_15_6<=1'b0;
                data_status_15_7<=1'b0;
                data_status_15_8<=1'b0;
                data_status_15_9<=1'b0;
                data_status_15_10<=1'b0;
                data_status_15_11<=1'b0;
                data_status_15_12<=1'b0;
                data_status_15_13<=1'b0;
                data_status_15_14<=1'b0;
                data_status_15_15<=1'b0;
            end
        endcase
    end
end

//四、给de_cc_n.REQ打拍
always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ0_1<=1'b0;
        REQ0_2<=1'b0;
        REQ0_3<=1'b0;
        REQ0_4<=1'b0;
    end
    else begin
        REQ0_1<=de_cc_0.REQ;
        REQ0_2<=REQ0_1;
        REQ0_3<=REQ0_2;
        REQ0_4<=REQ0_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ1_1<=1'b0;
        REQ1_2<=1'b0;
        REQ1_3<=1'b0;
        REQ1_4<=1'b0;
    end
    else begin
        REQ1_1<=de_cc_1.REQ;
        REQ1_2<=REQ1_1;
        REQ1_3<=REQ1_2;
        REQ1_4<=REQ1_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ2_1<=1'b0;
        REQ2_2<=1'b0;
        REQ2_3<=1'b0;
        REQ2_4<=1'b0;
    end
    else begin
        REQ2_1<=de_cc_2.REQ;
        REQ2_2<=REQ2_1;
        REQ2_3<=REQ2_2;
        REQ2_4<=REQ2_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ3_1<=1'b0;
        REQ3_2<=1'b0;
        REQ3_3<=1'b0;
        REQ3_4<=1'b0;
    end
    else begin
        REQ3_1<=de_cc_3.REQ;
        REQ3_2<=REQ3_1;
        REQ3_3<=REQ3_2;
        REQ3_4<=REQ3_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ4_1<=1'b0;
        REQ4_2<=1'b0;
        REQ4_3<=1'b0;
        REQ4_4<=1'b0;
    end
    else begin
        REQ4_1<=de_cc_4.REQ;
        REQ4_2<=REQ4_1;
        REQ4_3<=REQ4_2;
        REQ4_4<=REQ4_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ5_1<=1'b0;
        REQ5_2<=1'b0;
        REQ5_3<=1'b0;
        REQ5_4<=1'b0;
    end
    else begin
        REQ5_1<=de_cc_5.REQ;
        REQ5_2<=REQ5_1;
        REQ5_3<=REQ5_2;
        REQ5_4<=REQ5_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ6_1<=1'b0;
        REQ6_2<=1'b0;
        REQ6_3<=1'b0;
        REQ6_4<=1'b0;
    end
    else begin
        REQ6_1<=de_cc_6.REQ;
        REQ6_2<=REQ6_1;
        REQ6_3<=REQ6_2;
        REQ6_4<=REQ6_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ7_1<=1'b0;
        REQ7_2<=1'b0;
        REQ7_3<=1'b0;
        REQ7_4<=1'b0;
    end
    else begin
        REQ7_1<=de_cc_7.REQ;
        REQ7_2<=REQ7_1;
        REQ7_3<=REQ7_2;
        REQ7_4<=REQ7_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ8_1<=1'b0;
        REQ8_2<=1'b0;
        REQ8_3<=1'b0;
        REQ8_4<=1'b0;
    end
    else begin
        REQ8_1<=de_cc_8.REQ;
        REQ8_2<=REQ8_1;
        REQ8_3<=REQ8_2;
        REQ8_4<=REQ8_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ9_1<=1'b0;
        REQ9_2<=1'b0;
        REQ9_3<=1'b0;
        REQ9_4<=1'b0;
    end
    else begin
        REQ9_1<=de_cc_9.REQ;
        REQ9_2<=REQ9_1;
        REQ9_3<=REQ9_2;
        REQ9_4<=REQ9_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ10_1<=1'b0;
        REQ10_2<=1'b0;
        REQ10_3<=1'b0;
        REQ10_4<=1'b0;
    end
    else begin
        REQ10_1<=de_cc_10.REQ;
        REQ10_2<=REQ10_1;
        REQ10_3<=REQ10_2;
        REQ10_4<=REQ10_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ11_1<=1'b0;
        REQ11_2<=1'b0;
        REQ11_3<=1'b0;
        REQ11_4<=1'b0;
    end
    else begin
        REQ11_1<=de_cc_11.REQ;
        REQ11_2<=REQ11_1;
        REQ11_3<=REQ11_2;
        REQ11_4<=REQ11_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ12_1<=1'b0;
        REQ12_2<=1'b0;
        REQ12_3<=1'b0;
        REQ12_4<=1'b0;
    end
    else begin
        REQ12_1<=de_cc_12.REQ;
        REQ12_2<=REQ12_1;
        REQ12_3<=REQ12_2;
        REQ12_4<=REQ12_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ13_1<=1'b0;
        REQ13_2<=1'b0;
        REQ13_3<=1'b0;
        REQ13_4<=1'b0;
    end
    else begin
        REQ13_1<=de_cc_13.REQ;
        REQ13_2<=REQ13_1;
        REQ13_3<=REQ13_2;
        REQ13_4<=REQ13_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ14_1<=1'b0;
        REQ14_2<=1'b0;
        REQ14_3<=1'b0;
        REQ14_4<=1'b0;
    end
    else begin
        REQ14_1<=de_cc_14.REQ;
        REQ14_2<=REQ14_1;
        REQ14_3<=REQ14_2;
        REQ14_4<=REQ14_3;
    end
end

always@(posedge CLK or negedge RST_N) begin
    if(!RST_N) begin
        REQ15_1<=1'b0;
        REQ15_2<=1'b0;
        REQ15_3<=1'b0;
        REQ15_4<=1'b0;
    end
    else begin
        REQ15_1<=de_cc_15.REQ;
        REQ15_2<=REQ15_1;
        REQ15_3<=REQ15_2;
        REQ15_4<=REQ15_3;
    end
end

//五、判断哪个输入端口是优先的
always_comb begin
    priority case(1'b1)
    REQ15_2:begin
        case(de_cc_15.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_15_0;
                cc_st_0.DATA_SIZE0=data_size_15_0;
                cc_st_0.DATA_PRI0=data_pri_15_0;
                cc_st_0.WR_SOP0=wr_sop_15_0;
                cc_st_0.WR_EOP0=wr_eop_15_0;
                cc_st_0.WR_VLD0=wr_vld_15_0;
                cc_st_0.DATA_STATUS0=data_status_15_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_15_1;
                cc_st_1.DATA_SIZE0=data_size_15_1;
                cc_st_1.DATA_PRI0=data_pri_15_1;
                cc_st_1.WR_SOP0=wr_sop_15_1;
                cc_st_1.WR_EOP0=wr_eop_15_1;
                cc_st_1.WR_VLD0=wr_vld_15_1;
                cc_st_1.DATA_STATUS0=data_status_15_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_15_2;
                cc_st_2.DATA_SIZE0=data_size_15_2;
                cc_st_2.DATA_PRI0=data_pri_15_2;
                cc_st_2.WR_SOP0=wr_sop_15_2;
                cc_st_2.WR_EOP0=wr_eop_15_2;
                cc_st_2.WR_VLD0=wr_vld_15_2;
                cc_st_2.DATA_STATUS0=data_status_15_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_15_3;
                cc_st_3.DATA_SIZE0=data_size_15_3;
                cc_st_3.DATA_PRI0=data_pri_15_3;
                cc_st_3.WR_SOP0=wr_sop_15_3;
                cc_st_3.WR_EOP0=wr_eop_15_3;
                cc_st_3.WR_VLD0=wr_vld_15_3;
                cc_st_3.DATA_STATUS0=data_status_15_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_15_4;
                cc_st_4.DATA_SIZE0=data_size_15_4;
                cc_st_4.DATA_PRI0=data_pri_15_4;
                cc_st_4.WR_SOP0=wr_sop_15_4;
                cc_st_4.WR_EOP0=wr_eop_15_4;
                cc_st_4.WR_VLD0=wr_vld_15_4;
                cc_st_4.DATA_STATUS0=data_status_15_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_15_5;
                cc_st_5.DATA_SIZE0=data_size_15_5;
                cc_st_5.DATA_PRI0=data_pri_15_5;
                cc_st_5.WR_SOP0=wr_sop_15_5;
                cc_st_5.WR_EOP0=wr_eop_15_5;
                cc_st_5.WR_VLD0=wr_vld_15_5;
                cc_st_5.DATA_STATUS0=data_status_15_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_15_6;
                cc_st_6.DATA_SIZE0=data_size_15_6;
                cc_st_6.DATA_PRI0=data_pri_15_6;
                cc_st_6.WR_SOP0=wr_sop_15_6;
                cc_st_6.WR_EOP0=wr_eop_15_6;
                cc_st_6.WR_VLD0=wr_vld_15_6;
                cc_st_6.DATA_STATUS0=data_status_15_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_15_7;
                cc_st_7.DATA_SIZE0=data_size_15_7;
                cc_st_7.DATA_PRI0=data_pri_15_7;
                cc_st_7.WR_SOP0=wr_sop_15_7;
                cc_st_7.WR_EOP0=wr_eop_15_7;
                cc_st_7.WR_VLD0=wr_vld_15_7;
                cc_st_7.DATA_STATUS0=data_status_15_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_15_8;
                cc_st_8.DATA_SIZE0=data_size_15_8;
                cc_st_8.DATA_PRI0=data_pri_15_8;
                cc_st_8.WR_SOP0=wr_sop_15_8;
                cc_st_8.WR_EOP0=wr_eop_15_8;
                cc_st_8.WR_VLD0=wr_vld_15_8;
                cc_st_8.DATA_STATUS0=data_status_15_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_15_9;
                cc_st_9.DATA_SIZE0=data_size_15_9;
                cc_st_9.DATA_PRI0=data_pri_15_9;
                cc_st_9.WR_SOP0=wr_sop_15_9;
                cc_st_9.WR_EOP0=wr_eop_15_9;
                cc_st_9.WR_VLD0=wr_vld_15_9;
                cc_st_9.DATA_STATUS0=data_status_15_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_15_10;
                cc_st_10.DATA_SIZE0=data_size_15_10;
                cc_st_10.DATA_PRI0=data_pri_15_10;
                cc_st_10.WR_SOP0=wr_sop_15_10;
                cc_st_10.WR_EOP0=wr_eop_15_10;
                cc_st_10.WR_VLD0=wr_vld_15_10;
                cc_st_10.DATA_STATUS0=data_status_15_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_15_11;
                cc_st_11.DATA_SIZE0=data_size_15_11;
                cc_st_11.DATA_PRI0=data_pri_15_11;
                cc_st_11.WR_SOP0=wr_sop_15_11;
                cc_st_11.WR_EOP0=wr_eop_15_11;
                cc_st_11.WR_VLD0=wr_vld_15_11;
                cc_st_11.DATA_STATUS0=data_status_15_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_15_12;
                cc_st_12.DATA_SIZE0=data_size_15_12;
                cc_st_12.DATA_PRI0=data_pri_15_12;
                cc_st_12.WR_SOP0=wr_sop_15_12;
                cc_st_12.WR_EOP0=wr_eop_15_12;
                cc_st_12.WR_VLD0=wr_vld_15_12;
                cc_st_12.DATA_STATUS0=data_status_15_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_15_13;
                cc_st_13.DATA_SIZE0=data_size_15_13;
                cc_st_13.DATA_PRI0=data_pri_15_13;
                cc_st_13.WR_SOP0=wr_sop_15_13;
                cc_st_13.WR_EOP0=wr_eop_15_13;
                cc_st_13.WR_VLD0=wr_vld_15_13;
                cc_st_13.DATA_STATUS0=data_status_15_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_15_14;
                cc_st_14.DATA_SIZE0=data_size_15_14;
                cc_st_14.DATA_PRI0=data_pri_15_14;
                cc_st_14.WR_SOP0=wr_sop_15_14;
                cc_st_14.WR_EOP0=wr_eop_15_14;
                cc_st_14.WR_VLD0=wr_vld_15_14;
                cc_st_14.DATA_STATUS0=data_status_15_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_15_15;
                cc_st_15.DATA_SIZE0=data_size_15_15;
                cc_st_15.DATA_PRI0=data_pri_15_15;
                cc_st_15.WR_SOP0=wr_sop_15_15;
                cc_st_15.WR_EOP0=wr_eop_15_15;
                cc_st_15.WR_VLD0=wr_vld_15_15;
                cc_st_15.DATA_STATUS0=data_status_15_15;
            end
        endcase
    end
    REQ14_1:begin
        case(de_cc_14.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_14_0;
                cc_st_0.DATA_SIZE0=data_size_14_0;
                cc_st_0.DATA_PRI0=data_pri_14_0;
                cc_st_0.WR_SOP0=wr_sop_14_0;
                cc_st_0.WR_EOP0=wr_eop_14_0;
                cc_st_0.WR_VLD0=wr_vld_14_0;
                cc_st_0.DATA_STATUS0=data_status_14_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_14_1;
                cc_st_1.DATA_SIZE0=data_size_14_1;
                cc_st_1.DATA_PRI0=data_pri_14_1;
                cc_st_1.WR_SOP0=wr_sop_14_1;
                cc_st_1.WR_EOP0=wr_eop_14_1;
                cc_st_1.WR_VLD0=wr_vld_14_1;
                cc_st_1.DATA_STATUS0=data_status_14_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_14_2;
                cc_st_2.DATA_SIZE0=data_size_14_2;
                cc_st_2.DATA_PRI0=data_pri_14_2;
                cc_st_2.WR_SOP0=wr_sop_14_2;
                cc_st_2.WR_EOP0=wr_eop_14_2;
                cc_st_2.WR_VLD0=wr_vld_14_2;
                cc_st_2.DATA_STATUS0=data_status_14_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_14_3;
                cc_st_3.DATA_SIZE0=data_size_14_3;
                cc_st_3.DATA_PRI0=data_pri_14_3;
                cc_st_3.WR_SOP0=wr_sop_14_3;
                cc_st_3.WR_EOP0=wr_eop_14_3;
                cc_st_3.WR_VLD0=wr_vld_14_3;
                cc_st_3.DATA_STATUS0=data_status_14_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_14_4;
                cc_st_4.DATA_SIZE0=data_size_14_4;
                cc_st_4.DATA_PRI0=data_pri_14_4;
                cc_st_4.WR_SOP0=wr_sop_14_4;
                cc_st_4.WR_EOP0=wr_eop_14_4;
                cc_st_4.WR_VLD0=wr_vld_14_4;
                cc_st_4.DATA_STATUS0=data_status_14_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_14_5;
                cc_st_5.DATA_SIZE0=data_size_14_5;
                cc_st_5.DATA_PRI0=data_pri_14_5;
                cc_st_5.WR_SOP0=wr_sop_14_5;
                cc_st_5.WR_EOP0=wr_eop_14_5;
                cc_st_5.WR_VLD0=wr_vld_14_5;
                cc_st_5.DATA_STATUS0=data_status_14_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_14_6;
                cc_st_6.DATA_SIZE0=data_size_14_6;
                cc_st_6.DATA_PRI0=data_pri_14_6;
                cc_st_6.WR_SOP0=wr_sop_14_6;
                cc_st_6.WR_EOP0=wr_eop_14_6;
                cc_st_6.WR_VLD0=wr_vld_14_6;
                cc_st_6.DATA_STATUS0=data_status_14_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_14_7;
                cc_st_7.DATA_SIZE0=data_size_14_7;
                cc_st_7.DATA_PRI0=data_pri_14_7;
                cc_st_7.WR_SOP0=wr_sop_14_7;
                cc_st_7.WR_EOP0=wr_eop_14_7;
                cc_st_7.WR_VLD0=wr_vld_14_7;
                cc_st_7.DATA_STATUS0=data_status_14_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_14_8;
                cc_st_8.DATA_SIZE0=data_size_14_8;
                cc_st_8.DATA_PRI0=data_pri_14_8;
                cc_st_8.WR_SOP0=wr_sop_14_8;
                cc_st_8.WR_EOP0=wr_eop_14_8;
                cc_st_8.WR_VLD0=wr_vld_14_8;
                cc_st_8.DATA_STATUS0=data_status_14_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_14_9;
                cc_st_9.DATA_SIZE0=data_size_14_9;
                cc_st_9.DATA_PRI0=data_pri_14_9;
                cc_st_9.WR_SOP0=wr_sop_14_9;
                cc_st_9.WR_EOP0=wr_eop_14_9;
                cc_st_9.WR_VLD0=wr_vld_14_9;
                cc_st_9.DATA_STATUS0=data_status_14_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_14_10;
                cc_st_10.DATA_SIZE0=data_size_14_10;
                cc_st_10.DATA_PRI0=data_pri_14_10;
                cc_st_10.WR_SOP0=wr_sop_14_10;
                cc_st_10.WR_EOP0=wr_eop_14_10;
                cc_st_10.WR_VLD0=wr_vld_14_10;
                cc_st_10.DATA_STATUS0=data_status_14_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_14_11;
                cc_st_11.DATA_SIZE0=data_size_14_11;
                cc_st_11.DATA_PRI0=data_pri_14_11;
                cc_st_11.WR_SOP0=wr_sop_14_11;
                cc_st_11.WR_EOP0=wr_eop_14_11;
                cc_st_11.WR_VLD0=wr_vld_14_11;
                cc_st_11.DATA_STATUS0=data_status_14_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_14_12;
                cc_st_12.DATA_SIZE0=data_size_14_12;
                cc_st_12.DATA_PRI0=data_pri_14_12;
                cc_st_12.WR_SOP0=wr_sop_14_12;
                cc_st_12.WR_EOP0=wr_eop_14_12;
                cc_st_12.WR_VLD0=wr_vld_14_12;
                cc_st_12.DATA_STATUS0=data_status_14_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_14_13;
                cc_st_13.DATA_SIZE0=data_size_14_13;
                cc_st_13.DATA_PRI0=data_pri_14_13;
                cc_st_13.WR_SOP0=wr_sop_14_13;
                cc_st_13.WR_EOP0=wr_eop_14_13;
                cc_st_13.WR_VLD0=wr_vld_14_13;
                cc_st_13.DATA_STATUS0=data_status_14_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_14_14;
                cc_st_14.DATA_SIZE0=data_size_14_14;
                cc_st_14.DATA_PRI0=data_pri_14_14;
                cc_st_14.WR_SOP0=wr_sop_14_14;
                cc_st_14.WR_EOP0=wr_eop_14_14;
                cc_st_14.WR_VLD0=wr_vld_14_14;
                cc_st_14.DATA_STATUS0=data_status_14_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_14_15;
                cc_st_15.DATA_SIZE0=data_size_14_15;
                cc_st_15.DATA_PRI0=data_pri_14_15;
                cc_st_15.WR_SOP0=wr_sop_14_15;
                cc_st_15.WR_EOP0=wr_eop_14_15;
                cc_st_15.WR_VLD0=wr_vld_14_15;
                cc_st_15.DATA_STATUS0=data_status_14_15;
            end
        endcase
    end
    REQ13_1:begin
        case(de_cc_13.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_13_0;
                cc_st_0.DATA_SIZE0=data_size_13_0;
                cc_st_0.DATA_PRI0=data_pri_13_0;
                cc_st_0.WR_SOP0=wr_sop_13_0;
                cc_st_0.WR_EOP0=wr_eop_13_0;
                cc_st_0.WR_VLD0=wr_vld_13_0;
                cc_st_0.DATA_STATUS0=data_status_13_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_13_1;
                cc_st_1.DATA_SIZE0=data_size_13_1;
                cc_st_1.DATA_PRI0=data_pri_13_1;
                cc_st_1.WR_SOP0=wr_sop_13_1;
                cc_st_1.WR_EOP0=wr_eop_13_1;
                cc_st_1.WR_VLD0=wr_vld_13_1;
                cc_st_1.DATA_STATUS0=data_status_13_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_13_2;
                cc_st_2.DATA_SIZE0=data_size_13_2;
                cc_st_2.DATA_PRI0=data_pri_13_2;
                cc_st_2.WR_SOP0=wr_sop_13_2;
                cc_st_2.WR_EOP0=wr_eop_13_2;
                cc_st_2.WR_VLD0=wr_vld_13_2;
                cc_st_2.DATA_STATUS0=data_status_13_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_13_3;
                cc_st_3.DATA_SIZE0=data_size_13_3;
                cc_st_3.DATA_PRI0=data_pri_13_3;
                cc_st_3.WR_SOP0=wr_sop_13_3;
                cc_st_3.WR_EOP0=wr_eop_13_3;
                cc_st_3.WR_VLD0=wr_vld_13_3;
                cc_st_3.DATA_STATUS0=data_status_13_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_13_4;
                cc_st_4.DATA_SIZE0=data_size_13_4;
                cc_st_4.DATA_PRI0=data_pri_13_4;
                cc_st_4.WR_SOP0=wr_sop_13_4;
                cc_st_4.WR_EOP0=wr_eop_13_4;
                cc_st_4.WR_VLD0=wr_vld_13_4;
                cc_st_4.DATA_STATUS0=data_status_13_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_13_5;
                cc_st_5.DATA_SIZE0=data_size_13_5;
                cc_st_5.DATA_PRI0=data_pri_13_5;
                cc_st_5.WR_SOP0=wr_sop_13_5;
                cc_st_5.WR_EOP0=wr_eop_13_5;
                cc_st_5.WR_VLD0=wr_vld_13_5;
                cc_st_5.DATA_STATUS0=data_status_13_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_13_6;
                cc_st_6.DATA_SIZE0=data_size_13_6;
                cc_st_6.DATA_PRI0=data_pri_13_6;
                cc_st_6.WR_SOP0=wr_sop_13_6;
                cc_st_6.WR_EOP0=wr_eop_13_6;
                cc_st_6.WR_VLD0=wr_vld_13_6;
                cc_st_6.DATA_STATUS0=data_status_13_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_13_7;
                cc_st_7.DATA_SIZE0=data_size_13_7;
                cc_st_7.DATA_PRI0=data_pri_13_7;
                cc_st_7.WR_SOP0=wr_sop_13_7;
                cc_st_7.WR_EOP0=wr_eop_13_7;
                cc_st_7.WR_VLD0=wr_vld_13_7;
                cc_st_7.DATA_STATUS0=data_status_13_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_13_8;
                cc_st_8.DATA_SIZE0=data_size_13_8;
                cc_st_8.DATA_PRI0=data_pri_13_8;
                cc_st_8.WR_SOP0=wr_sop_13_8;
                cc_st_8.WR_EOP0=wr_eop_13_8;
                cc_st_8.WR_VLD0=wr_vld_13_8;
                cc_st_8.DATA_STATUS0=data_status_13_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_13_9;
                cc_st_9.DATA_SIZE0=data_size_13_9;
                cc_st_9.DATA_PRI0=data_pri_13_9;
                cc_st_9.WR_SOP0=wr_sop_13_9;
                cc_st_9.WR_EOP0=wr_eop_13_9;
                cc_st_9.WR_VLD0=wr_vld_13_9;
                cc_st_9.DATA_STATUS0=data_status_13_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_13_10;
                cc_st_10.DATA_SIZE0=data_size_13_10;
                cc_st_10.DATA_PRI0=data_pri_13_10;
                cc_st_10.WR_SOP0=wr_sop_13_10;
                cc_st_10.WR_EOP0=wr_eop_13_10;
                cc_st_10.WR_VLD0=wr_vld_13_10;
                cc_st_10.DATA_STATUS0=data_status_13_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_13_11;
                cc_st_11.DATA_SIZE0=data_size_13_11;
                cc_st_11.DATA_PRI0=data_pri_13_11;
                cc_st_11.WR_SOP0=wr_sop_13_11;
                cc_st_11.WR_EOP0=wr_eop_13_11;
                cc_st_11.WR_VLD0=wr_vld_13_11;
                cc_st_11.DATA_STATUS0=data_status_13_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_13_12;
                cc_st_12.DATA_SIZE0=data_size_13_12;
                cc_st_12.DATA_PRI0=data_pri_13_12;
                cc_st_12.WR_SOP0=wr_sop_13_12;
                cc_st_12.WR_EOP0=wr_eop_13_12;
                cc_st_12.WR_VLD0=wr_vld_13_12;
                cc_st_12.DATA_STATUS0=data_status_13_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_13_13;
                cc_st_13.DATA_SIZE0=data_size_13_13;
                cc_st_13.DATA_PRI0=data_pri_13_13;
                cc_st_13.WR_SOP0=wr_sop_13_13;
                cc_st_13.WR_EOP0=wr_eop_13_13;
                cc_st_13.WR_VLD0=wr_vld_13_13;
                cc_st_13.DATA_STATUS0=data_status_13_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_13_14;
                cc_st_14.DATA_SIZE0=data_size_13_14;
                cc_st_14.DATA_PRI0=data_pri_13_14;
                cc_st_14.WR_SOP0=wr_sop_13_14;
                cc_st_14.WR_EOP0=wr_eop_13_14;
                cc_st_14.WR_VLD0=wr_vld_13_14;
                cc_st_14.DATA_STATUS0=data_status_13_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_13_15;
                cc_st_15.DATA_SIZE0=data_size_13_15;
                cc_st_15.DATA_PRI0=data_pri_13_15;
                cc_st_15.WR_SOP0=wr_sop_13_15;
                cc_st_15.WR_EOP0=wr_eop_13_15;
                cc_st_15.WR_VLD0=wr_vld_13_15;
                cc_st_15.DATA_STATUS0=data_status_13_15;
            end
        endcase
    end
    REQ12_1:begin
        case(de_cc_12.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_12_0;
                cc_st_0.DATA_SIZE0=data_size_12_0;
                cc_st_0.DATA_PRI0=data_pri_12_0;
                cc_st_0.WR_SOP0=wr_sop_12_0;
                cc_st_0.WR_EOP0=wr_eop_12_0;
                cc_st_0.WR_VLD0=wr_vld_12_0;
                cc_st_0.DATA_STATUS0=data_status_12_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_12_1;
                cc_st_1.DATA_SIZE0=data_size_12_1;
                cc_st_1.DATA_PRI0=data_pri_12_1;
                cc_st_1.WR_SOP0=wr_sop_12_1;
                cc_st_1.WR_EOP0=wr_eop_12_1;
                cc_st_1.WR_VLD0=wr_vld_12_1;
                cc_st_1.DATA_STATUS0=data_status_12_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_12_2;
                cc_st_2.DATA_SIZE0=data_size_12_2;
                cc_st_2.DATA_PRI0=data_pri_12_2;
                cc_st_2.WR_SOP0=wr_sop_12_2;
                cc_st_2.WR_EOP0=wr_eop_12_2;
                cc_st_2.WR_VLD0=wr_vld_12_2;
                cc_st_2.DATA_STATUS0=data_status_12_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_12_3;
                cc_st_3.DATA_SIZE0=data_size_12_3;
                cc_st_3.DATA_PRI0=data_pri_12_3;
                cc_st_3.WR_SOP0=wr_sop_12_3;
                cc_st_3.WR_EOP0=wr_eop_12_3;
                cc_st_3.WR_VLD0=wr_vld_12_3;
                cc_st_3.DATA_STATUS0=data_status_12_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_12_4;
                cc_st_4.DATA_SIZE0=data_size_12_4;
                cc_st_4.DATA_PRI0=data_pri_12_4;
                cc_st_4.WR_SOP0=wr_sop_12_4;
                cc_st_4.WR_EOP0=wr_eop_12_4;
                cc_st_4.WR_VLD0=wr_vld_12_4;
                cc_st_4.DATA_STATUS0=data_status_12_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_12_5;
                cc_st_5.DATA_SIZE0=data_size_12_5;
                cc_st_5.DATA_PRI0=data_pri_12_5;
                cc_st_5.WR_SOP0=wr_sop_12_5;
                cc_st_5.WR_EOP0=wr_eop_12_5;
                cc_st_5.WR_VLD0=wr_vld_12_5;
                cc_st_5.DATA_STATUS0=data_status_12_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_12_6;
                cc_st_6.DATA_SIZE0=data_size_12_6;
                cc_st_6.DATA_PRI0=data_pri_12_6;
                cc_st_6.WR_SOP0=wr_sop_12_6;
                cc_st_6.WR_EOP0=wr_eop_12_6;
                cc_st_6.WR_VLD0=wr_vld_12_6;
                cc_st_6.DATA_STATUS0=data_status_12_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_12_7;
                cc_st_7.DATA_SIZE0=data_size_12_7;
                cc_st_7.DATA_PRI0=data_pri_12_7;
                cc_st_7.WR_SOP0=wr_sop_12_7;
                cc_st_7.WR_EOP0=wr_eop_12_7;
                cc_st_7.WR_VLD0=wr_vld_12_7;
                cc_st_7.DATA_STATUS0=data_status_12_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_12_8;
                cc_st_8.DATA_SIZE0=data_size_12_8;
                cc_st_8.DATA_PRI0=data_pri_12_8;
                cc_st_8.WR_SOP0=wr_sop_12_8;
                cc_st_8.WR_EOP0=wr_eop_12_8;
                cc_st_8.WR_VLD0=wr_vld_12_8;
                cc_st_8.DATA_STATUS0=data_status_12_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_12_9;
                cc_st_9.DATA_SIZE0=data_size_12_9;
                cc_st_9.DATA_PRI0=data_pri_12_9;
                cc_st_9.WR_SOP0=wr_sop_12_9;
                cc_st_9.WR_EOP0=wr_eop_12_9;
                cc_st_9.WR_VLD0=wr_vld_12_9;
                cc_st_9.DATA_STATUS0=data_status_12_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_12_10;
                cc_st_10.DATA_SIZE0=data_size_12_10;
                cc_st_10.DATA_PRI0=data_pri_12_10;
                cc_st_10.WR_SOP0=wr_sop_12_10;
                cc_st_10.WR_EOP0=wr_eop_12_10;
                cc_st_10.WR_VLD0=wr_vld_12_10;
                cc_st_10.DATA_STATUS0=data_status_12_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_12_11;
                cc_st_11.DATA_SIZE0=data_size_12_11;
                cc_st_11.DATA_PRI0=data_pri_12_11;
                cc_st_11.WR_SOP0=wr_sop_12_11;
                cc_st_11.WR_EOP0=wr_eop_12_11;
                cc_st_11.WR_VLD0=wr_vld_12_11;
                cc_st_11.DATA_STATUS0=data_status_12_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_12_12;
                cc_st_12.DATA_SIZE0=data_size_12_12;
                cc_st_12.DATA_PRI0=data_pri_12_12;
                cc_st_12.WR_SOP0=wr_sop_12_12;
                cc_st_12.WR_EOP0=wr_eop_12_12;
                cc_st_12.WR_VLD0=wr_vld_12_12;
                cc_st_12.DATA_STATUS0=data_status_12_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_12_13;
                cc_st_13.DATA_SIZE0=data_size_12_13;
                cc_st_13.DATA_PRI0=data_pri_12_13;
                cc_st_13.WR_SOP0=wr_sop_12_13;
                cc_st_13.WR_EOP0=wr_eop_12_13;
                cc_st_13.WR_VLD0=wr_vld_12_13;
                cc_st_13.DATA_STATUS0=data_status_12_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_12_14;
                cc_st_14.DATA_SIZE0=data_size_12_14;
                cc_st_14.DATA_PRI0=data_pri_12_14;
                cc_st_14.WR_SOP0=wr_sop_12_14;
                cc_st_14.WR_EOP0=wr_eop_12_14;
                cc_st_14.WR_VLD0=wr_vld_12_14;
                cc_st_14.DATA_STATUS0=data_status_12_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_12_15;
                cc_st_15.DATA_SIZE0=data_size_12_15;
                cc_st_15.DATA_PRI0=data_pri_12_15;
                cc_st_15.WR_SOP0=wr_sop_12_15;
                cc_st_15.WR_EOP0=wr_eop_12_15;
                cc_st_15.WR_VLD0=wr_vld_12_15;
                cc_st_15.DATA_STATUS0=data_status_12_15;
            end
        endcase
    end
    REQ11_1:begin
        case(de_cc_11.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_11_0;
                cc_st_0.DATA_SIZE0=data_size_11_0;
                cc_st_0.DATA_PRI0=data_pri_11_0;
                cc_st_0.WR_SOP0=wr_sop_11_0;
                cc_st_0.WR_EOP0=wr_eop_11_0;
                cc_st_0.WR_VLD0=wr_vld_11_0;
                cc_st_0.DATA_STATUS0=data_status_11_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_11_1;
                cc_st_1.DATA_SIZE0=data_size_11_1;
                cc_st_1.DATA_PRI0=data_pri_11_1;
                cc_st_1.WR_SOP0=wr_sop_11_1;
                cc_st_1.WR_EOP0=wr_eop_11_1;
                cc_st_1.WR_VLD0=wr_vld_11_1;
                cc_st_1.DATA_STATUS0=data_status_11_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_11_2;
                cc_st_2.DATA_SIZE0=data_size_11_2;
                cc_st_2.DATA_PRI0=data_pri_11_2;
                cc_st_2.WR_SOP0=wr_sop_11_2;
                cc_st_2.WR_EOP0=wr_eop_11_2;
                cc_st_2.WR_VLD0=wr_vld_11_2;
                cc_st_2.DATA_STATUS0=data_status_11_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_11_3;
                cc_st_3.DATA_SIZE0=data_size_11_3;
                cc_st_3.DATA_PRI0=data_pri_11_3;
                cc_st_3.WR_SOP0=wr_sop_11_3;
                cc_st_3.WR_EOP0=wr_eop_11_3;
                cc_st_3.WR_VLD0=wr_vld_11_3;
                cc_st_3.DATA_STATUS0=data_status_11_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_11_4;
                cc_st_4.DATA_SIZE0=data_size_11_4;
                cc_st_4.DATA_PRI0=data_pri_11_4;
                cc_st_4.WR_SOP0=wr_sop_11_4;
                cc_st_4.WR_EOP0=wr_eop_11_4;
                cc_st_4.WR_VLD0=wr_vld_11_4;
                cc_st_4.DATA_STATUS0=data_status_11_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_11_5;
                cc_st_5.DATA_SIZE0=data_size_11_5;
                cc_st_5.DATA_PRI0=data_pri_11_5;
                cc_st_5.WR_SOP0=wr_sop_11_5;
                cc_st_5.WR_EOP0=wr_eop_11_5;
                cc_st_5.WR_VLD0=wr_vld_11_5;
                cc_st_5.DATA_STATUS0=data_status_11_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_11_6;
                cc_st_6.DATA_SIZE0=data_size_11_6;
                cc_st_6.DATA_PRI0=data_pri_11_6;
                cc_st_6.WR_SOP0=wr_sop_11_6;
                cc_st_6.WR_EOP0=wr_eop_11_6;
                cc_st_6.WR_VLD0=wr_vld_11_6;
                cc_st_6.DATA_STATUS0=data_status_11_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_11_7;
                cc_st_7.DATA_SIZE0=data_size_11_7;
                cc_st_7.DATA_PRI0=data_pri_11_7;
                cc_st_7.WR_SOP0=wr_sop_11_7;
                cc_st_7.WR_EOP0=wr_eop_11_7;
                cc_st_7.WR_VLD0=wr_vld_11_7;
                cc_st_7.DATA_STATUS0=data_status_11_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_11_8;
                cc_st_8.DATA_SIZE0=data_size_11_8;
                cc_st_8.DATA_PRI0=data_pri_11_8;
                cc_st_8.WR_SOP0=wr_sop_11_8;
                cc_st_8.WR_EOP0=wr_eop_11_8;
                cc_st_8.WR_VLD0=wr_vld_11_8;
                cc_st_8.DATA_STATUS0=data_status_11_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_11_9;
                cc_st_9.DATA_SIZE0=data_size_11_9;
                cc_st_9.DATA_PRI0=data_pri_11_9;
                cc_st_9.WR_SOP0=wr_sop_11_9;
                cc_st_9.WR_EOP0=wr_eop_11_9;
                cc_st_9.WR_VLD0=wr_vld_11_9;
                cc_st_9.DATA_STATUS0=data_status_11_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_11_10;
                cc_st_10.DATA_SIZE0=data_size_11_10;
                cc_st_10.DATA_PRI0=data_pri_11_10;
                cc_st_10.WR_SOP0=wr_sop_11_10;
                cc_st_10.WR_EOP0=wr_eop_11_10;
                cc_st_10.WR_VLD0=wr_vld_11_10;
                cc_st_10.DATA_STATUS0=data_status_11_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_11_11;
                cc_st_11.DATA_SIZE0=data_size_11_11;
                cc_st_11.DATA_PRI0=data_pri_11_11;
                cc_st_11.WR_SOP0=wr_sop_11_11;
                cc_st_11.WR_EOP0=wr_eop_11_11;
                cc_st_11.WR_VLD0=wr_vld_11_11;
                cc_st_11.DATA_STATUS0=data_status_11_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_11_12;
                cc_st_12.DATA_SIZE0=data_size_11_12;
                cc_st_12.DATA_PRI0=data_pri_11_12;
                cc_st_12.WR_SOP0=wr_sop_11_12;
                cc_st_12.WR_EOP0=wr_eop_11_12;
                cc_st_12.WR_VLD0=wr_vld_11_12;
                cc_st_12.DATA_STATUS0=data_status_11_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_11_13;
                cc_st_13.DATA_SIZE0=data_size_11_13;
                cc_st_13.DATA_PRI0=data_pri_11_13;
                cc_st_13.WR_SOP0=wr_sop_11_13;
                cc_st_13.WR_EOP0=wr_eop_11_13;
                cc_st_13.WR_VLD0=wr_vld_11_13;
                cc_st_13.DATA_STATUS0=data_status_11_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_11_14;
                cc_st_14.DATA_SIZE0=data_size_11_14;
                cc_st_14.DATA_PRI0=data_pri_11_14;
                cc_st_14.WR_SOP0=wr_sop_11_14;
                cc_st_14.WR_EOP0=wr_eop_11_14;
                cc_st_14.WR_VLD0=wr_vld_11_14;
                cc_st_14.DATA_STATUS0=data_status_11_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_11_15;
                cc_st_15.DATA_SIZE0=data_size_11_15;
                cc_st_15.DATA_PRI0=data_pri_11_15;
                cc_st_15.WR_SOP0=wr_sop_11_15;
                cc_st_15.WR_EOP0=wr_eop_11_15;
                cc_st_15.WR_VLD0=wr_vld_11_15;
                cc_st_15.DATA_STATUS0=data_status_11_15;
            end
        endcase
    end
    REQ10_1:begin
        case(de_cc_10.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_10_0;
                cc_st_0.DATA_SIZE0=data_size_10_0;
                cc_st_0.DATA_PRI0=data_pri_10_0;
                cc_st_0.WR_SOP0=wr_sop_10_0;
                cc_st_0.WR_EOP0=wr_eop_10_0;
                cc_st_0.WR_VLD0=wr_vld_10_0;
                cc_st_0.DATA_STATUS0=data_status_10_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_10_1;
                cc_st_1.DATA_SIZE0=data_size_10_1;
                cc_st_1.DATA_PRI0=data_pri_10_1;
                cc_st_1.WR_SOP0=wr_sop_10_1;
                cc_st_1.WR_EOP0=wr_eop_10_1;
                cc_st_1.WR_VLD0=wr_vld_10_1;
                cc_st_1.DATA_STATUS0=data_status_10_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_10_2;
                cc_st_2.DATA_SIZE0=data_size_10_2;
                cc_st_2.DATA_PRI0=data_pri_10_2;
                cc_st_2.WR_SOP0=wr_sop_10_2;
                cc_st_2.WR_EOP0=wr_eop_10_2;
                cc_st_2.WR_VLD0=wr_vld_10_2;
                cc_st_2.DATA_STATUS0=data_status_10_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_10_3;
                cc_st_3.DATA_SIZE0=data_size_10_3;
                cc_st_3.DATA_PRI0=data_pri_10_3;
                cc_st_3.WR_SOP0=wr_sop_10_3;
                cc_st_3.WR_EOP0=wr_eop_10_3;
                cc_st_3.WR_VLD0=wr_vld_10_3;
                cc_st_3.DATA_STATUS0=data_status_10_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_10_4;
                cc_st_4.DATA_SIZE0=data_size_10_4;
                cc_st_4.DATA_PRI0=data_pri_10_4;
                cc_st_4.WR_SOP0=wr_sop_10_4;
                cc_st_4.WR_EOP0=wr_eop_10_4;
                cc_st_4.WR_VLD0=wr_vld_10_4;
                cc_st_4.DATA_STATUS0=data_status_10_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_10_5;
                cc_st_5.DATA_SIZE0=data_size_10_5;
                cc_st_5.DATA_PRI0=data_pri_10_5;
                cc_st_5.WR_SOP0=wr_sop_10_5;
                cc_st_5.WR_EOP0=wr_eop_10_5;
                cc_st_5.WR_VLD0=wr_vld_10_5;
                cc_st_5.DATA_STATUS0=data_status_10_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_10_6;
                cc_st_6.DATA_SIZE0=data_size_10_6;
                cc_st_6.DATA_PRI0=data_pri_10_6;
                cc_st_6.WR_SOP0=wr_sop_10_6;
                cc_st_6.WR_EOP0=wr_eop_10_6;
                cc_st_6.WR_VLD0=wr_vld_10_6;
                cc_st_6.DATA_STATUS0=data_status_10_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_10_7;
                cc_st_7.DATA_SIZE0=data_size_10_7;
                cc_st_7.DATA_PRI0=data_pri_10_7;
                cc_st_7.WR_SOP0=wr_sop_10_7;
                cc_st_7.WR_EOP0=wr_eop_10_7;
                cc_st_7.WR_VLD0=wr_vld_10_7;
                cc_st_7.DATA_STATUS0=data_status_10_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_10_8;
                cc_st_8.DATA_SIZE0=data_size_10_8;
                cc_st_8.DATA_PRI0=data_pri_10_8;
                cc_st_8.WR_SOP0=wr_sop_10_8;
                cc_st_8.WR_EOP0=wr_eop_10_8;
                cc_st_8.WR_VLD0=wr_vld_10_8;
                cc_st_8.DATA_STATUS0=data_status_10_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_10_9;
                cc_st_9.DATA_SIZE0=data_size_10_9;
                cc_st_9.DATA_PRI0=data_pri_10_9;
                cc_st_9.WR_SOP0=wr_sop_10_9;
                cc_st_9.WR_EOP0=wr_eop_10_9;
                cc_st_9.WR_VLD0=wr_vld_10_9;
                cc_st_9.DATA_STATUS0=data_status_10_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_10_10;
                cc_st_10.DATA_SIZE0=data_size_10_10;
                cc_st_10.DATA_PRI0=data_pri_10_10;
                cc_st_10.WR_SOP0=wr_sop_10_10;
                cc_st_10.WR_EOP0=wr_eop_10_10;
                cc_st_10.WR_VLD0=wr_vld_10_10;
                cc_st_10.DATA_STATUS0=data_status_10_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_10_11;
                cc_st_11.DATA_SIZE0=data_size_10_11;
                cc_st_11.DATA_PRI0=data_pri_10_11;
                cc_st_11.WR_SOP0=wr_sop_10_11;
                cc_st_11.WR_EOP0=wr_eop_10_11;
                cc_st_11.WR_VLD0=wr_vld_10_11;
                cc_st_11.DATA_STATUS0=data_status_10_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_10_12;
                cc_st_12.DATA_SIZE0=data_size_10_12;
                cc_st_12.DATA_PRI0=data_pri_10_12;
                cc_st_12.WR_SOP0=wr_sop_10_12;
                cc_st_12.WR_EOP0=wr_eop_10_12;
                cc_st_12.WR_VLD0=wr_vld_10_12;
                cc_st_12.DATA_STATUS0=data_status_10_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_10_13;
                cc_st_13.DATA_SIZE0=data_size_10_13;
                cc_st_13.DATA_PRI0=data_pri_10_13;
                cc_st_13.WR_SOP0=wr_sop_10_13;
                cc_st_13.WR_EOP0=wr_eop_10_13;
                cc_st_13.WR_VLD0=wr_vld_10_13;
                cc_st_13.DATA_STATUS0=data_status_10_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_10_14;
                cc_st_14.DATA_SIZE0=data_size_10_14;
                cc_st_14.DATA_PRI0=data_pri_10_14;
                cc_st_14.WR_SOP0=wr_sop_10_14;
                cc_st_14.WR_EOP0=wr_eop_10_14;
                cc_st_14.WR_VLD0=wr_vld_10_14;
                cc_st_14.DATA_STATUS0=data_status_10_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_10_15;
                cc_st_15.DATA_SIZE0=data_size_10_15;
                cc_st_15.DATA_PRI0=data_pri_10_15;
                cc_st_15.WR_SOP0=wr_sop_10_15;
                cc_st_15.WR_EOP0=wr_eop_10_15;
                cc_st_15.WR_VLD0=wr_vld_10_15;
                cc_st_15.DATA_STATUS0=data_status_10_15;
            end
        endcase
    end
    REQ9_1:begin
        case(de_cc_9.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_9_0;
                cc_st_0.DATA_SIZE0=data_size_9_0;
                cc_st_0.DATA_PRI0=data_pri_9_0;
                cc_st_0.WR_SOP0=wr_sop_9_0;
                cc_st_0.WR_EOP0=wr_eop_9_0;
                cc_st_0.WR_VLD0=wr_vld_9_0;
                cc_st_0.DATA_STATUS0=data_status_9_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_9_1;
                cc_st_1.DATA_SIZE0=data_size_9_1;
                cc_st_1.DATA_PRI0=data_pri_9_1;
                cc_st_1.WR_SOP0=wr_sop_9_1;
                cc_st_1.WR_EOP0=wr_eop_9_1;
                cc_st_1.WR_VLD0=wr_vld_9_1;
                cc_st_1.DATA_STATUS0=data_status_9_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_9_2;
                cc_st_2.DATA_SIZE0=data_size_9_2;
                cc_st_2.DATA_PRI0=data_pri_9_2;
                cc_st_2.WR_SOP0=wr_sop_9_2;
                cc_st_2.WR_EOP0=wr_eop_9_2;
                cc_st_2.WR_VLD0=wr_vld_9_2;
                cc_st_2.DATA_STATUS0=data_status_9_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_9_3;
                cc_st_3.DATA_SIZE0=data_size_9_3;
                cc_st_3.DATA_PRI0=data_pri_9_3;
                cc_st_3.WR_SOP0=wr_sop_9_3;
                cc_st_3.WR_EOP0=wr_eop_9_3;
                cc_st_3.WR_VLD0=wr_vld_9_3;
                cc_st_3.DATA_STATUS0=data_status_9_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_9_4;
                cc_st_4.DATA_SIZE0=data_size_9_4;
                cc_st_4.DATA_PRI0=data_pri_9_4;
                cc_st_4.WR_SOP0=wr_sop_9_4;
                cc_st_4.WR_EOP0=wr_eop_9_4;
                cc_st_4.WR_VLD0=wr_vld_9_4;
                cc_st_4.DATA_STATUS0=data_status_9_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_9_5;
                cc_st_5.DATA_SIZE0=data_size_9_5;
                cc_st_5.DATA_PRI0=data_pri_9_5;
                cc_st_5.WR_SOP0=wr_sop_9_5;
                cc_st_5.WR_EOP0=wr_eop_9_5;
                cc_st_5.WR_VLD0=wr_vld_9_5;
                cc_st_5.DATA_STATUS0=data_status_9_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_9_6;
                cc_st_6.DATA_SIZE0=data_size_9_6;
                cc_st_6.DATA_PRI0=data_pri_9_6;
                cc_st_6.WR_SOP0=wr_sop_9_6;
                cc_st_6.WR_EOP0=wr_eop_9_6;
                cc_st_6.WR_VLD0=wr_vld_9_6;
                cc_st_6.DATA_STATUS0=data_status_9_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_9_7;
                cc_st_7.DATA_SIZE0=data_size_9_7;
                cc_st_7.DATA_PRI0=data_pri_9_7;
                cc_st_7.WR_SOP0=wr_sop_9_7;
                cc_st_7.WR_EOP0=wr_eop_9_7;
                cc_st_7.WR_VLD0=wr_vld_9_7;
                cc_st_7.DATA_STATUS0=data_status_9_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_9_8;
                cc_st_8.DATA_SIZE0=data_size_9_8;
                cc_st_8.DATA_PRI0=data_pri_9_8;
                cc_st_8.WR_SOP0=wr_sop_9_8;
                cc_st_8.WR_EOP0=wr_eop_9_8;
                cc_st_8.WR_VLD0=wr_vld_9_8;
                cc_st_8.DATA_STATUS0=data_status_9_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_9_9;
                cc_st_9.DATA_SIZE0=data_size_9_9;
                cc_st_9.DATA_PRI0=data_pri_9_9;
                cc_st_9.WR_SOP0=wr_sop_9_9;
                cc_st_9.WR_EOP0=wr_eop_9_9;
                cc_st_9.WR_VLD0=wr_vld_9_9;
                cc_st_9.DATA_STATUS0=data_status_9_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_9_10;
                cc_st_10.DATA_SIZE0=data_size_9_10;
                cc_st_10.DATA_PRI0=data_pri_9_10;
                cc_st_10.WR_SOP0=wr_sop_9_10;
                cc_st_10.WR_EOP0=wr_eop_9_10;
                cc_st_10.WR_VLD0=wr_vld_9_10;
                cc_st_10.DATA_STATUS0=data_status_9_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_9_11;
                cc_st_11.DATA_SIZE0=data_size_9_11;
                cc_st_11.DATA_PRI0=data_pri_9_11;
                cc_st_11.WR_SOP0=wr_sop_9_11;
                cc_st_11.WR_EOP0=wr_eop_9_11;
                cc_st_11.WR_VLD0=wr_vld_9_11;
                cc_st_11.DATA_STATUS0=data_status_9_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_9_12;
                cc_st_12.DATA_SIZE0=data_size_9_12;
                cc_st_12.DATA_PRI0=data_pri_9_12;
                cc_st_12.WR_SOP0=wr_sop_9_12;
                cc_st_12.WR_EOP0=wr_eop_9_12;
                cc_st_12.WR_VLD0=wr_vld_9_12;
                cc_st_12.DATA_STATUS0=data_status_9_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_9_13;
                cc_st_13.DATA_SIZE0=data_size_9_13;
                cc_st_13.DATA_PRI0=data_pri_9_13;
                cc_st_13.WR_SOP0=wr_sop_9_13;
                cc_st_13.WR_EOP0=wr_eop_9_13;
                cc_st_13.WR_VLD0=wr_vld_9_13;
                cc_st_13.DATA_STATUS0=data_status_9_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_9_14;
                cc_st_14.DATA_SIZE0=data_size_9_14;
                cc_st_14.DATA_PRI0=data_pri_9_14;
                cc_st_14.WR_SOP0=wr_sop_9_14;
                cc_st_14.WR_EOP0=wr_eop_9_14;
                cc_st_14.WR_VLD0=wr_vld_9_14;
                cc_st_14.DATA_STATUS0=data_status_9_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_9_15;
                cc_st_15.DATA_SIZE0=data_size_9_15;
                cc_st_15.DATA_PRI0=data_pri_9_15;
                cc_st_15.WR_SOP0=wr_sop_9_15;
                cc_st_15.WR_EOP0=wr_eop_9_15;
                cc_st_15.WR_VLD0=wr_vld_9_15;
                cc_st_15.DATA_STATUS0=data_status_9_15;
            end
        endcase
    end
    REQ8_1:begin
        case(de_cc_8.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_8_0;
                cc_st_0.DATA_SIZE0=data_size_8_0;
                cc_st_0.DATA_PRI0=data_pri_8_0;
                cc_st_0.WR_SOP0=wr_sop_8_0;
                cc_st_0.WR_EOP0=wr_eop_8_0;
                cc_st_0.WR_VLD0=wr_vld_8_0;
                cc_st_0.DATA_STATUS0=data_status_8_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_8_1;
                cc_st_1.DATA_SIZE0=data_size_8_1;
                cc_st_1.DATA_PRI0=data_pri_8_1;
                cc_st_1.WR_SOP0=wr_sop_8_1;
                cc_st_1.WR_EOP0=wr_eop_8_1;
                cc_st_1.WR_VLD0=wr_vld_8_1;
                cc_st_1.DATA_STATUS0=data_status_8_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_8_2;
                cc_st_2.DATA_SIZE0=data_size_8_2;
                cc_st_2.DATA_PRI0=data_pri_8_2;
                cc_st_2.WR_SOP0=wr_sop_8_2;
                cc_st_2.WR_EOP0=wr_eop_8_2;
                cc_st_2.WR_VLD0=wr_vld_8_2;
                cc_st_2.DATA_STATUS0=data_status_8_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_8_3;
                cc_st_3.DATA_SIZE0=data_size_8_3;
                cc_st_3.DATA_PRI0=data_pri_8_3;
                cc_st_3.WR_SOP0=wr_sop_8_3;
                cc_st_3.WR_EOP0=wr_eop_8_3;
                cc_st_3.WR_VLD0=wr_vld_8_3;
                cc_st_3.DATA_STATUS0=data_status_8_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_8_4;
                cc_st_4.DATA_SIZE0=data_size_8_4;
                cc_st_4.DATA_PRI0=data_pri_8_4;
                cc_st_4.WR_SOP0=wr_sop_8_4;
                cc_st_4.WR_EOP0=wr_eop_8_4;
                cc_st_4.WR_VLD0=wr_vld_8_4;
                cc_st_4.DATA_STATUS0=data_status_8_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_8_5;
                cc_st_5.DATA_SIZE0=data_size_8_5;
                cc_st_5.DATA_PRI0=data_pri_8_5;
                cc_st_5.WR_SOP0=wr_sop_8_5;
                cc_st_5.WR_EOP0=wr_eop_8_5;
                cc_st_5.WR_VLD0=wr_vld_8_5;
                cc_st_5.DATA_STATUS0=data_status_8_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_8_6;
                cc_st_6.DATA_SIZE0=data_size_8_6;
                cc_st_6.DATA_PRI0=data_pri_8_6;
                cc_st_6.WR_SOP0=wr_sop_8_6;
                cc_st_6.WR_EOP0=wr_eop_8_6;
                cc_st_6.WR_VLD0=wr_vld_8_6;
                cc_st_6.DATA_STATUS0=data_status_8_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_8_7;
                cc_st_7.DATA_SIZE0=data_size_8_7;
                cc_st_7.DATA_PRI0=data_pri_8_7;
                cc_st_7.WR_SOP0=wr_sop_8_7;
                cc_st_7.WR_EOP0=wr_eop_8_7;
                cc_st_7.WR_VLD0=wr_vld_8_7;
                cc_st_7.DATA_STATUS0=data_status_8_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_8_8;
                cc_st_8.DATA_SIZE0=data_size_8_8;
                cc_st_8.DATA_PRI0=data_pri_8_8;
                cc_st_8.WR_SOP0=wr_sop_8_8;
                cc_st_8.WR_EOP0=wr_eop_8_8;
                cc_st_8.WR_VLD0=wr_vld_8_8;
                cc_st_8.DATA_STATUS0=data_status_8_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_8_9;
                cc_st_9.DATA_SIZE0=data_size_8_9;
                cc_st_9.DATA_PRI0=data_pri_8_9;
                cc_st_9.WR_SOP0=wr_sop_8_9;
                cc_st_9.WR_EOP0=wr_eop_8_9;
                cc_st_9.WR_VLD0=wr_vld_8_9;
                cc_st_9.DATA_STATUS0=data_status_8_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_8_10;
                cc_st_10.DATA_SIZE0=data_size_8_10;
                cc_st_10.DATA_PRI0=data_pri_8_10;
                cc_st_10.WR_SOP0=wr_sop_8_10;
                cc_st_10.WR_EOP0=wr_eop_8_10;
                cc_st_10.WR_VLD0=wr_vld_8_10;
                cc_st_10.DATA_STATUS0=data_status_8_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_8_11;
                cc_st_11.DATA_SIZE0=data_size_8_11;
                cc_st_11.DATA_PRI0=data_pri_8_11;
                cc_st_11.WR_SOP0=wr_sop_8_11;
                cc_st_11.WR_EOP0=wr_eop_8_11;
                cc_st_11.WR_VLD0=wr_vld_8_11;
                cc_st_11.DATA_STATUS0=data_status_8_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_8_12;
                cc_st_12.DATA_SIZE0=data_size_8_12;
                cc_st_12.DATA_PRI0=data_pri_8_12;
                cc_st_12.WR_SOP0=wr_sop_8_12;
                cc_st_12.WR_EOP0=wr_eop_8_12;
                cc_st_12.WR_VLD0=wr_vld_8_12;
                cc_st_12.DATA_STATUS0=data_status_8_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_8_13;
                cc_st_13.DATA_SIZE0=data_size_8_13;
                cc_st_13.DATA_PRI0=data_pri_8_13;
                cc_st_13.WR_SOP0=wr_sop_8_13;
                cc_st_13.WR_EOP0=wr_eop_8_13;
                cc_st_13.WR_VLD0=wr_vld_8_13;
                cc_st_13.DATA_STATUS0=data_status_8_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_8_14;
                cc_st_14.DATA_SIZE0=data_size_8_14;
                cc_st_14.DATA_PRI0=data_pri_8_14;
                cc_st_14.WR_SOP0=wr_sop_8_14;
                cc_st_14.WR_EOP0=wr_eop_8_14;
                cc_st_14.WR_VLD0=wr_vld_8_14;
                cc_st_14.DATA_STATUS0=data_status_8_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_8_15;
                cc_st_15.DATA_SIZE0=data_size_8_15;
                cc_st_15.DATA_PRI0=data_pri_8_15;
                cc_st_15.WR_SOP0=wr_sop_8_15;
                cc_st_15.WR_EOP0=wr_eop_8_15;
                cc_st_15.WR_VLD0=wr_vld_8_15;
                cc_st_15.DATA_STATUS0=data_status_8_15;
            end
        endcase
    end
    REQ7_1:begin
        case(de_cc_7.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_7_0;
                cc_st_0.DATA_SIZE0=data_size_7_0;
                cc_st_0.DATA_PRI0=data_pri_7_0;
                cc_st_0.WR_SOP0=wr_sop_7_0;
                cc_st_0.WR_EOP0=wr_eop_7_0;
                cc_st_0.WR_VLD0=wr_vld_7_0;
                cc_st_0.DATA_STATUS0=data_status_7_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_7_1;
                cc_st_1.DATA_SIZE0=data_size_7_1;
                cc_st_1.DATA_PRI0=data_pri_7_1;
                cc_st_1.WR_SOP0=wr_sop_7_1;
                cc_st_1.WR_EOP0=wr_eop_7_1;
                cc_st_1.WR_VLD0=wr_vld_7_1;
                cc_st_1.DATA_STATUS0=data_status_7_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_7_2;
                cc_st_2.DATA_SIZE0=data_size_7_2;
                cc_st_2.DATA_PRI0=data_pri_7_2;
                cc_st_2.WR_SOP0=wr_sop_7_2;
                cc_st_2.WR_EOP0=wr_eop_7_2;
                cc_st_2.WR_VLD0=wr_vld_7_2;
                cc_st_2.DATA_STATUS0=data_status_7_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_7_3;
                cc_st_3.DATA_SIZE0=data_size_7_3;
                cc_st_3.DATA_PRI0=data_pri_7_3;
                cc_st_3.WR_SOP0=wr_sop_7_3;
                cc_st_3.WR_EOP0=wr_eop_7_3;
                cc_st_3.WR_VLD0=wr_vld_7_3;
                cc_st_3.DATA_STATUS0=data_status_7_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_7_4;
                cc_st_4.DATA_SIZE0=data_size_7_4;
                cc_st_4.DATA_PRI0=data_pri_7_4;
                cc_st_4.WR_SOP0=wr_sop_7_4;
                cc_st_4.WR_EOP0=wr_eop_7_4;
                cc_st_4.WR_VLD0=wr_vld_7_4;
                cc_st_4.DATA_STATUS0=data_status_7_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_7_5;
                cc_st_5.DATA_SIZE0=data_size_7_5;
                cc_st_5.DATA_PRI0=data_pri_7_5;
                cc_st_5.WR_SOP0=wr_sop_7_5;
                cc_st_5.WR_EOP0=wr_eop_7_5;
                cc_st_5.WR_VLD0=wr_vld_7_5;
                cc_st_5.DATA_STATUS0=data_status_7_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_7_6;
                cc_st_6.DATA_SIZE0=data_size_7_6;
                cc_st_6.DATA_PRI0=data_pri_7_6;
                cc_st_6.WR_SOP0=wr_sop_7_6;
                cc_st_6.WR_EOP0=wr_eop_7_6;
                cc_st_6.WR_VLD0=wr_vld_7_6;
                cc_st_6.DATA_STATUS0=data_status_7_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_7_7;
                cc_st_7.DATA_SIZE0=data_size_7_7;
                cc_st_7.DATA_PRI0=data_pri_7_7;
                cc_st_7.WR_SOP0=wr_sop_7_7;
                cc_st_7.WR_EOP0=wr_eop_7_7;
                cc_st_7.WR_VLD0=wr_vld_7_7;
                cc_st_7.DATA_STATUS0=data_status_7_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_7_8;
                cc_st_8.DATA_SIZE0=data_size_7_8;
                cc_st_8.DATA_PRI0=data_pri_7_8;
                cc_st_8.WR_SOP0=wr_sop_7_8;
                cc_st_8.WR_EOP0=wr_eop_7_8;
                cc_st_8.WR_VLD0=wr_vld_7_8;
                cc_st_8.DATA_STATUS0=data_status_7_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_7_9;
                cc_st_9.DATA_SIZE0=data_size_7_9;
                cc_st_9.DATA_PRI0=data_pri_7_9;
                cc_st_9.WR_SOP0=wr_sop_7_9;
                cc_st_9.WR_EOP0=wr_eop_7_9;
                cc_st_9.WR_VLD0=wr_vld_7_9;
                cc_st_9.DATA_STATUS0=data_status_7_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_7_10;
                cc_st_10.DATA_SIZE0=data_size_7_10;
                cc_st_10.DATA_PRI0=data_pri_7_10;
                cc_st_10.WR_SOP0=wr_sop_7_10;
                cc_st_10.WR_EOP0=wr_eop_7_10;
                cc_st_10.WR_VLD0=wr_vld_7_10;
                cc_st_10.DATA_STATUS0=data_status_7_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_7_11;
                cc_st_11.DATA_SIZE0=data_size_7_11;
                cc_st_11.DATA_PRI0=data_pri_7_11;
                cc_st_11.WR_SOP0=wr_sop_7_11;
                cc_st_11.WR_EOP0=wr_eop_7_11;
                cc_st_11.WR_VLD0=wr_vld_7_11;
                cc_st_11.DATA_STATUS0=data_status_7_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_7_12;
                cc_st_12.DATA_SIZE0=data_size_7_12;
                cc_st_12.DATA_PRI0=data_pri_7_12;
                cc_st_12.WR_SOP0=wr_sop_7_12;
                cc_st_12.WR_EOP0=wr_eop_7_12;
                cc_st_12.WR_VLD0=wr_vld_7_12;
                cc_st_12.DATA_STATUS0=data_status_7_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_7_13;
                cc_st_13.DATA_SIZE0=data_size_7_13;
                cc_st_13.DATA_PRI0=data_pri_7_13;
                cc_st_13.WR_SOP0=wr_sop_7_13;
                cc_st_13.WR_EOP0=wr_eop_7_13;
                cc_st_13.WR_VLD0=wr_vld_7_13;
                cc_st_13.DATA_STATUS0=data_status_7_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_7_14;
                cc_st_14.DATA_SIZE0=data_size_7_14;
                cc_st_14.DATA_PRI0=data_pri_7_14;
                cc_st_14.WR_SOP0=wr_sop_7_14;
                cc_st_14.WR_EOP0=wr_eop_7_14;
                cc_st_14.WR_VLD0=wr_vld_7_14;
                cc_st_14.DATA_STATUS0=data_status_7_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_7_15;
                cc_st_15.DATA_SIZE0=data_size_7_15;
                cc_st_15.DATA_PRI0=data_pri_7_15;
                cc_st_15.WR_SOP0=wr_sop_7_15;
                cc_st_15.WR_EOP0=wr_eop_7_15;
                cc_st_15.WR_VLD0=wr_vld_7_15;
                cc_st_15.DATA_STATUS0=data_status_7_15;
            end
        endcase
    end
    REQ6_1:begin
        case(de_cc_6.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_6_0;
                cc_st_0.DATA_SIZE0=data_size_6_0;
                cc_st_0.DATA_PRI0=data_pri_6_0;
                cc_st_0.WR_SOP0=wr_sop_6_0;
                cc_st_0.WR_EOP0=wr_eop_6_0;
                cc_st_0.WR_VLD0=wr_vld_6_0;
                cc_st_0.DATA_STATUS0=data_status_6_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_6_1;
                cc_st_1.DATA_SIZE0=data_size_6_1;
                cc_st_1.DATA_PRI0=data_pri_6_1;
                cc_st_1.WR_SOP0=wr_sop_6_1;
                cc_st_1.WR_EOP0=wr_eop_6_1;
                cc_st_1.WR_VLD0=wr_vld_6_1;
                cc_st_1.DATA_STATUS0=data_status_6_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_6_2;
                cc_st_2.DATA_SIZE0=data_size_6_2;
                cc_st_2.DATA_PRI0=data_pri_6_2;
                cc_st_2.WR_SOP0=wr_sop_6_2;
                cc_st_2.WR_EOP0=wr_eop_6_2;
                cc_st_2.WR_VLD0=wr_vld_6_2;
                cc_st_2.DATA_STATUS0=data_status_6_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_6_3;
                cc_st_3.DATA_SIZE0=data_size_6_3;
                cc_st_3.DATA_PRI0=data_pri_6_3;
                cc_st_3.WR_SOP0=wr_sop_6_3;
                cc_st_3.WR_EOP0=wr_eop_6_3;
                cc_st_3.WR_VLD0=wr_vld_6_3;
                cc_st_3.DATA_STATUS0=data_status_6_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_6_4;
                cc_st_4.DATA_SIZE0=data_size_6_4;
                cc_st_4.DATA_PRI0=data_pri_6_4;
                cc_st_4.WR_SOP0=wr_sop_6_4;
                cc_st_4.WR_EOP0=wr_eop_6_4;
                cc_st_4.WR_VLD0=wr_vld_6_4;
                cc_st_4.DATA_STATUS0=data_status_6_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_6_5;
                cc_st_5.DATA_SIZE0=data_size_6_5;
                cc_st_5.DATA_PRI0=data_pri_6_5;
                cc_st_5.WR_SOP0=wr_sop_6_5;
                cc_st_5.WR_EOP0=wr_eop_6_5;
                cc_st_5.WR_VLD0=wr_vld_6_5;
                cc_st_5.DATA_STATUS0=data_status_6_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_6_6;
                cc_st_6.DATA_SIZE0=data_size_6_6;
                cc_st_6.DATA_PRI0=data_pri_6_6;
                cc_st_6.WR_SOP0=wr_sop_6_6;
                cc_st_6.WR_EOP0=wr_eop_6_6;
                cc_st_6.WR_VLD0=wr_vld_6_6;
                cc_st_6.DATA_STATUS0=data_status_6_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_6_7;
                cc_st_7.DATA_SIZE0=data_size_6_7;
                cc_st_7.DATA_PRI0=data_pri_6_7;
                cc_st_7.WR_SOP0=wr_sop_6_7;
                cc_st_7.WR_EOP0=wr_eop_6_7;
                cc_st_7.WR_VLD0=wr_vld_6_7;
                cc_st_7.DATA_STATUS0=data_status_6_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_6_8;
                cc_st_8.DATA_SIZE0=data_size_6_8;
                cc_st_8.DATA_PRI0=data_pri_6_8;
                cc_st_8.WR_SOP0=wr_sop_6_8;
                cc_st_8.WR_EOP0=wr_eop_6_8;
                cc_st_8.WR_VLD0=wr_vld_6_8;
                cc_st_8.DATA_STATUS0=data_status_6_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_6_9;
                cc_st_9.DATA_SIZE0=data_size_6_9;
                cc_st_9.DATA_PRI0=data_pri_6_9;
                cc_st_9.WR_SOP0=wr_sop_6_9;
                cc_st_9.WR_EOP0=wr_eop_6_9;
                cc_st_9.WR_VLD0=wr_vld_6_9;
                cc_st_9.DATA_STATUS0=data_status_6_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_6_10;
                cc_st_10.DATA_SIZE0=data_size_6_10;
                cc_st_10.DATA_PRI0=data_pri_6_10;
                cc_st_10.WR_SOP0=wr_sop_6_10;
                cc_st_10.WR_EOP0=wr_eop_6_10;
                cc_st_10.WR_VLD0=wr_vld_6_10;
                cc_st_10.DATA_STATUS0=data_status_6_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_6_11;
                cc_st_11.DATA_SIZE0=data_size_6_11;
                cc_st_11.DATA_PRI0=data_pri_6_11;
                cc_st_11.WR_SOP0=wr_sop_6_11;
                cc_st_11.WR_EOP0=wr_eop_6_11;
                cc_st_11.WR_VLD0=wr_vld_6_11;
                cc_st_11.DATA_STATUS0=data_status_6_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_6_12;
                cc_st_12.DATA_SIZE0=data_size_6_12;
                cc_st_12.DATA_PRI0=data_pri_6_12;
                cc_st_12.WR_SOP0=wr_sop_6_12;
                cc_st_12.WR_EOP0=wr_eop_6_12;
                cc_st_12.WR_VLD0=wr_vld_6_12;
                cc_st_12.DATA_STATUS0=data_status_6_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_6_13;
                cc_st_13.DATA_SIZE0=data_size_6_13;
                cc_st_13.DATA_PRI0=data_pri_6_13;
                cc_st_13.WR_SOP0=wr_sop_6_13;
                cc_st_13.WR_EOP0=wr_eop_6_13;
                cc_st_13.WR_VLD0=wr_vld_6_13;
                cc_st_13.DATA_STATUS0=data_status_6_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_6_14;
                cc_st_14.DATA_SIZE0=data_size_6_14;
                cc_st_14.DATA_PRI0=data_pri_6_14;
                cc_st_14.WR_SOP0=wr_sop_6_14;
                cc_st_14.WR_EOP0=wr_eop_6_14;
                cc_st_14.WR_VLD0=wr_vld_6_14;
                cc_st_14.DATA_STATUS0=data_status_6_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_6_15;
                cc_st_15.DATA_SIZE0=data_size_6_15;
                cc_st_15.DATA_PRI0=data_pri_6_15;
                cc_st_15.WR_SOP0=wr_sop_6_15;
                cc_st_15.WR_EOP0=wr_eop_6_15;
                cc_st_15.WR_VLD0=wr_vld_6_15;
                cc_st_15.DATA_STATUS0=data_status_6_15;
            end
        endcase
    end
    REQ5_1:begin
        case(de_cc_5.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_5_0;
                cc_st_0.DATA_SIZE0=data_size_5_0;
                cc_st_0.DATA_PRI0=data_pri_5_0;
                cc_st_0.WR_SOP0=wr_sop_5_0;
                cc_st_0.WR_EOP0=wr_eop_5_0;
                cc_st_0.WR_VLD0=wr_vld_5_0;
                cc_st_0.DATA_STATUS0=data_status_5_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_5_1;
                cc_st_1.DATA_SIZE0=data_size_5_1;
                cc_st_1.DATA_PRI0=data_pri_5_1;
                cc_st_1.WR_SOP0=wr_sop_5_1;
                cc_st_1.WR_EOP0=wr_eop_5_1;
                cc_st_1.WR_VLD0=wr_vld_5_1;
                cc_st_1.DATA_STATUS0=data_status_5_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_5_2;
                cc_st_2.DATA_SIZE0=data_size_5_2;
                cc_st_2.DATA_PRI0=data_pri_5_2;
                cc_st_2.WR_SOP0=wr_sop_5_2;
                cc_st_2.WR_EOP0=wr_eop_5_2;
                cc_st_2.WR_VLD0=wr_vld_5_2;
                cc_st_2.DATA_STATUS0=data_status_5_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_5_3;
                cc_st_3.DATA_SIZE0=data_size_5_3;
                cc_st_3.DATA_PRI0=data_pri_5_3;
                cc_st_3.WR_SOP0=wr_sop_5_3;
                cc_st_3.WR_EOP0=wr_eop_5_3;
                cc_st_3.WR_VLD0=wr_vld_5_3;
                cc_st_3.DATA_STATUS0=data_status_5_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_5_4;
                cc_st_4.DATA_SIZE0=data_size_5_4;
                cc_st_4.DATA_PRI0=data_pri_5_4;
                cc_st_4.WR_SOP0=wr_sop_5_4;
                cc_st_4.WR_EOP0=wr_eop_5_4;
                cc_st_4.WR_VLD0=wr_vld_5_4;
                cc_st_4.DATA_STATUS0=data_status_5_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_5_5;
                cc_st_5.DATA_SIZE0=data_size_5_5;
                cc_st_5.DATA_PRI0=data_pri_5_5;
                cc_st_5.WR_SOP0=wr_sop_5_5;
                cc_st_5.WR_EOP0=wr_eop_5_5;
                cc_st_5.WR_VLD0=wr_vld_5_5;
                cc_st_5.DATA_STATUS0=data_status_5_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_5_6;
                cc_st_6.DATA_SIZE0=data_size_5_6;
                cc_st_6.DATA_PRI0=data_pri_5_6;
                cc_st_6.WR_SOP0=wr_sop_5_6;
                cc_st_6.WR_EOP0=wr_eop_5_6;
                cc_st_6.WR_VLD0=wr_vld_5_6;
                cc_st_6.DATA_STATUS0=data_status_5_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_5_7;
                cc_st_7.DATA_SIZE0=data_size_5_7;
                cc_st_7.DATA_PRI0=data_pri_5_7;
                cc_st_7.WR_SOP0=wr_sop_5_7;
                cc_st_7.WR_EOP0=wr_eop_5_7;
                cc_st_7.WR_VLD0=wr_vld_5_7;
                cc_st_7.DATA_STATUS0=data_status_5_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_5_8;
                cc_st_8.DATA_SIZE0=data_size_5_8;
                cc_st_8.DATA_PRI0=data_pri_5_8;
                cc_st_8.WR_SOP0=wr_sop_5_8;
                cc_st_8.WR_EOP0=wr_eop_5_8;
                cc_st_8.WR_VLD0=wr_vld_5_8;
                cc_st_8.DATA_STATUS0=data_status_5_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_5_9;
                cc_st_9.DATA_SIZE0=data_size_5_9;
                cc_st_9.DATA_PRI0=data_pri_5_9;
                cc_st_9.WR_SOP0=wr_sop_5_9;
                cc_st_9.WR_EOP0=wr_eop_5_9;
                cc_st_9.WR_VLD0=wr_vld_5_9;
                cc_st_9.DATA_STATUS0=data_status_5_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_5_10;
                cc_st_10.DATA_SIZE0=data_size_5_10;
                cc_st_10.DATA_PRI0=data_pri_5_10;
                cc_st_10.WR_SOP0=wr_sop_5_10;
                cc_st_10.WR_EOP0=wr_eop_5_10;
                cc_st_10.WR_VLD0=wr_vld_5_10;
                cc_st_10.DATA_STATUS0=data_status_5_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_5_11;
                cc_st_11.DATA_SIZE0=data_size_5_11;
                cc_st_11.DATA_PRI0=data_pri_5_11;
                cc_st_11.WR_SOP0=wr_sop_5_11;
                cc_st_11.WR_EOP0=wr_eop_5_11;
                cc_st_11.WR_VLD0=wr_vld_5_11;
                cc_st_11.DATA_STATUS0=data_status_5_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_5_12;
                cc_st_12.DATA_SIZE0=data_size_5_12;
                cc_st_12.DATA_PRI0=data_pri_5_12;
                cc_st_12.WR_SOP0=wr_sop_5_12;
                cc_st_12.WR_EOP0=wr_eop_5_12;
                cc_st_12.WR_VLD0=wr_vld_5_12;
                cc_st_12.DATA_STATUS0=data_status_5_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_5_13;
                cc_st_13.DATA_SIZE0=data_size_5_13;
                cc_st_13.DATA_PRI0=data_pri_5_13;
                cc_st_13.WR_SOP0=wr_sop_5_13;
                cc_st_13.WR_EOP0=wr_eop_5_13;
                cc_st_13.WR_VLD0=wr_vld_5_13;
                cc_st_13.DATA_STATUS0=data_status_5_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_5_14;
                cc_st_14.DATA_SIZE0=data_size_5_14;
                cc_st_14.DATA_PRI0=data_pri_5_14;
                cc_st_14.WR_SOP0=wr_sop_5_14;
                cc_st_14.WR_EOP0=wr_eop_5_14;
                cc_st_14.WR_VLD0=wr_vld_5_14;
                cc_st_14.DATA_STATUS0=data_status_5_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_5_15;
                cc_st_15.DATA_SIZE0=data_size_5_15;
                cc_st_15.DATA_PRI0=data_pri_5_15;
                cc_st_15.WR_SOP0=wr_sop_5_15;
                cc_st_15.WR_EOP0=wr_eop_5_15;
                cc_st_15.WR_VLD0=wr_vld_5_15;
                cc_st_15.DATA_STATUS0=data_status_5_15;
            end
        endcase
    end
    REQ4_1:begin
        case(de_cc_4.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_4_0;
                cc_st_0.DATA_SIZE0=data_size_4_0;
                cc_st_0.DATA_PRI0=data_pri_4_0;
                cc_st_0.WR_SOP0=wr_sop_4_0;
                cc_st_0.WR_EOP0=wr_eop_4_0;
                cc_st_0.WR_VLD0=wr_vld_4_0;
                cc_st_0.DATA_STATUS0=data_status_4_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_4_1;
                cc_st_1.DATA_SIZE0=data_size_4_1;
                cc_st_1.DATA_PRI0=data_pri_4_1;
                cc_st_1.WR_SOP0=wr_sop_4_1;
                cc_st_1.WR_EOP0=wr_eop_4_1;
                cc_st_1.WR_VLD0=wr_vld_4_1;
                cc_st_1.DATA_STATUS0=data_status_4_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_4_2;
                cc_st_2.DATA_SIZE0=data_size_4_2;
                cc_st_2.DATA_PRI0=data_pri_4_2;
                cc_st_2.WR_SOP0=wr_sop_4_2;
                cc_st_2.WR_EOP0=wr_eop_4_2;
                cc_st_2.WR_VLD0=wr_vld_4_2;
                cc_st_2.DATA_STATUS0=data_status_4_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_4_3;
                cc_st_3.DATA_SIZE0=data_size_4_3;
                cc_st_3.DATA_PRI0=data_pri_4_3;
                cc_st_3.WR_SOP0=wr_sop_4_3;
                cc_st_3.WR_EOP0=wr_eop_4_3;
                cc_st_3.WR_VLD0=wr_vld_4_3;
                cc_st_3.DATA_STATUS0=data_status_4_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_4_4;
                cc_st_4.DATA_SIZE0=data_size_4_4;
                cc_st_4.DATA_PRI0=data_pri_4_4;
                cc_st_4.WR_SOP0=wr_sop_4_4;
                cc_st_4.WR_EOP0=wr_eop_4_4;
                cc_st_4.WR_VLD0=wr_vld_4_4;
                cc_st_4.DATA_STATUS0=data_status_4_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_4_5;
                cc_st_5.DATA_SIZE0=data_size_4_5;
                cc_st_5.DATA_PRI0=data_pri_4_5;
                cc_st_5.WR_SOP0=wr_sop_4_5;
                cc_st_5.WR_EOP0=wr_eop_4_5;
                cc_st_5.WR_VLD0=wr_vld_4_5;
                cc_st_5.DATA_STATUS0=data_status_4_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_4_6;
                cc_st_6.DATA_SIZE0=data_size_4_6;
                cc_st_6.DATA_PRI0=data_pri_4_6;
                cc_st_6.WR_SOP0=wr_sop_4_6;
                cc_st_6.WR_EOP0=wr_eop_4_6;
                cc_st_6.WR_VLD0=wr_vld_4_6;
                cc_st_6.DATA_STATUS0=data_status_4_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_4_7;
                cc_st_7.DATA_SIZE0=data_size_4_7;
                cc_st_7.DATA_PRI0=data_pri_4_7;
                cc_st_7.WR_SOP0=wr_sop_4_7;
                cc_st_7.WR_EOP0=wr_eop_4_7;
                cc_st_7.WR_VLD0=wr_vld_4_7;
                cc_st_7.DATA_STATUS0=data_status_4_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_4_8;
                cc_st_8.DATA_SIZE0=data_size_4_8;
                cc_st_8.DATA_PRI0=data_pri_4_8;
                cc_st_8.WR_SOP0=wr_sop_4_8;
                cc_st_8.WR_EOP0=wr_eop_4_8;
                cc_st_8.WR_VLD0=wr_vld_4_8;
                cc_st_8.DATA_STATUS0=data_status_4_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_4_9;
                cc_st_9.DATA_SIZE0=data_size_4_9;
                cc_st_9.DATA_PRI0=data_pri_4_9;
                cc_st_9.WR_SOP0=wr_sop_4_9;
                cc_st_9.WR_EOP0=wr_eop_4_9;
                cc_st_9.WR_VLD0=wr_vld_4_9;
                cc_st_9.DATA_STATUS0=data_status_4_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_4_10;
                cc_st_10.DATA_SIZE0=data_size_4_10;
                cc_st_10.DATA_PRI0=data_pri_4_10;
                cc_st_10.WR_SOP0=wr_sop_4_10;
                cc_st_10.WR_EOP0=wr_eop_4_10;
                cc_st_10.WR_VLD0=wr_vld_4_10;
                cc_st_10.DATA_STATUS0=data_status_4_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_4_11;
                cc_st_11.DATA_SIZE0=data_size_4_11;
                cc_st_11.DATA_PRI0=data_pri_4_11;
                cc_st_11.WR_SOP0=wr_sop_4_11;
                cc_st_11.WR_EOP0=wr_eop_4_11;
                cc_st_11.WR_VLD0=wr_vld_4_11;
                cc_st_11.DATA_STATUS0=data_status_4_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_4_12;
                cc_st_12.DATA_SIZE0=data_size_4_12;
                cc_st_12.DATA_PRI0=data_pri_4_12;
                cc_st_12.WR_SOP0=wr_sop_4_12;
                cc_st_12.WR_EOP0=wr_eop_4_12;
                cc_st_12.WR_VLD0=wr_vld_4_12;
                cc_st_12.DATA_STATUS0=data_status_4_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_4_13;
                cc_st_13.DATA_SIZE0=data_size_4_13;
                cc_st_13.DATA_PRI0=data_pri_4_13;
                cc_st_13.WR_SOP0=wr_sop_4_13;
                cc_st_13.WR_EOP0=wr_eop_4_13;
                cc_st_13.WR_VLD0=wr_vld_4_13;
                cc_st_13.DATA_STATUS0=data_status_4_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_4_14;
                cc_st_14.DATA_SIZE0=data_size_4_14;
                cc_st_14.DATA_PRI0=data_pri_4_14;
                cc_st_14.WR_SOP0=wr_sop_4_14;
                cc_st_14.WR_EOP0=wr_eop_4_14;
                cc_st_14.WR_VLD0=wr_vld_4_14;
                cc_st_14.DATA_STATUS0=data_status_4_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_4_15;
                cc_st_15.DATA_SIZE0=data_size_4_15;
                cc_st_15.DATA_PRI0=data_pri_4_15;
                cc_st_15.WR_SOP0=wr_sop_4_15;
                cc_st_15.WR_EOP0=wr_eop_4_15;
                cc_st_15.WR_VLD0=wr_vld_4_15;
                cc_st_15.DATA_STATUS0=data_status_4_15;
            end
        endcase
    end
    REQ3_1:begin
        case(de_cc_3.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_3_0;
                cc_st_0.DATA_SIZE0=data_size_3_0;
                cc_st_0.DATA_PRI0=data_pri_3_0;
                cc_st_0.WR_SOP0=wr_sop_3_0;
                cc_st_0.WR_EOP0=wr_eop_3_0;
                cc_st_0.WR_VLD0=wr_vld_3_0;
                cc_st_0.DATA_STATUS0=data_status_3_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_3_1;
                cc_st_1.DATA_SIZE0=data_size_3_1;
                cc_st_1.DATA_PRI0=data_pri_3_1;
                cc_st_1.WR_SOP0=wr_sop_3_1;
                cc_st_1.WR_EOP0=wr_eop_3_1;
                cc_st_1.WR_VLD0=wr_vld_3_1;
                cc_st_1.DATA_STATUS0=data_status_3_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_3_2;
                cc_st_2.DATA_SIZE0=data_size_3_2;
                cc_st_2.DATA_PRI0=data_pri_3_2;
                cc_st_2.WR_SOP0=wr_sop_3_2;
                cc_st_2.WR_EOP0=wr_eop_3_2;
                cc_st_2.WR_VLD0=wr_vld_3_2;
                cc_st_2.DATA_STATUS0=data_status_3_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_3_3;
                cc_st_3.DATA_SIZE0=data_size_3_3;
                cc_st_3.DATA_PRI0=data_pri_3_3;
                cc_st_3.WR_SOP0=wr_sop_3_3;
                cc_st_3.WR_EOP0=wr_eop_3_3;
                cc_st_3.WR_VLD0=wr_vld_3_3;
                cc_st_3.DATA_STATUS0=data_status_3_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_3_4;
                cc_st_4.DATA_SIZE0=data_size_3_4;
                cc_st_4.DATA_PRI0=data_pri_3_4;
                cc_st_4.WR_SOP0=wr_sop_3_4;
                cc_st_4.WR_EOP0=wr_eop_3_4;
                cc_st_4.WR_VLD0=wr_vld_3_4;
                cc_st_4.DATA_STATUS0=data_status_3_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_3_5;
                cc_st_5.DATA_SIZE0=data_size_3_5;
                cc_st_5.DATA_PRI0=data_pri_3_5;
                cc_st_5.WR_SOP0=wr_sop_3_5;
                cc_st_5.WR_EOP0=wr_eop_3_5;
                cc_st_5.WR_VLD0=wr_vld_3_5;
                cc_st_5.DATA_STATUS0=data_status_3_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_3_6;
                cc_st_6.DATA_SIZE0=data_size_3_6;
                cc_st_6.DATA_PRI0=data_pri_3_6;
                cc_st_6.WR_SOP0=wr_sop_3_6;
                cc_st_6.WR_EOP0=wr_eop_3_6;
                cc_st_6.WR_VLD0=wr_vld_3_6;
                cc_st_6.DATA_STATUS0=data_status_3_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_3_7;
                cc_st_7.DATA_SIZE0=data_size_3_7;
                cc_st_7.DATA_PRI0=data_pri_3_7;
                cc_st_7.WR_SOP0=wr_sop_3_7;
                cc_st_7.WR_EOP0=wr_eop_3_7;
                cc_st_7.WR_VLD0=wr_vld_3_7;
                cc_st_7.DATA_STATUS0=data_status_3_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_3_8;
                cc_st_8.DATA_SIZE0=data_size_3_8;
                cc_st_8.DATA_PRI0=data_pri_3_8;
                cc_st_8.WR_SOP0=wr_sop_3_8;
                cc_st_8.WR_EOP0=wr_eop_3_8;
                cc_st_8.WR_VLD0=wr_vld_3_8;
                cc_st_8.DATA_STATUS0=data_status_3_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_3_9;
                cc_st_9.DATA_SIZE0=data_size_3_9;
                cc_st_9.DATA_PRI0=data_pri_3_9;
                cc_st_9.WR_SOP0=wr_sop_3_9;
                cc_st_9.WR_EOP0=wr_eop_3_9;
                cc_st_9.WR_VLD0=wr_vld_3_9;
                cc_st_9.DATA_STATUS0=data_status_3_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_3_10;
                cc_st_10.DATA_SIZE0=data_size_3_10;
                cc_st_10.DATA_PRI0=data_pri_3_10;
                cc_st_10.WR_SOP0=wr_sop_3_10;
                cc_st_10.WR_EOP0=wr_eop_3_10;
                cc_st_10.WR_VLD0=wr_vld_3_10;
                cc_st_10.DATA_STATUS0=data_status_3_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_3_11;
                cc_st_11.DATA_SIZE0=data_size_3_11;
                cc_st_11.DATA_PRI0=data_pri_3_11;
                cc_st_11.WR_SOP0=wr_sop_3_11;
                cc_st_11.WR_EOP0=wr_eop_3_11;
                cc_st_11.WR_VLD0=wr_vld_3_11;
                cc_st_11.DATA_STATUS0=data_status_3_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_3_12;
                cc_st_12.DATA_SIZE0=data_size_3_12;
                cc_st_12.DATA_PRI0=data_pri_3_12;
                cc_st_12.WR_SOP0=wr_sop_3_12;
                cc_st_12.WR_EOP0=wr_eop_3_12;
                cc_st_12.WR_VLD0=wr_vld_3_12;
                cc_st_12.DATA_STATUS0=data_status_3_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_3_13;
                cc_st_13.DATA_SIZE0=data_size_3_13;
                cc_st_13.DATA_PRI0=data_pri_3_13;
                cc_st_13.WR_SOP0=wr_sop_3_13;
                cc_st_13.WR_EOP0=wr_eop_3_13;
                cc_st_13.WR_VLD0=wr_vld_3_13;
                cc_st_13.DATA_STATUS0=data_status_3_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_3_14;
                cc_st_14.DATA_SIZE0=data_size_3_14;
                cc_st_14.DATA_PRI0=data_pri_3_14;
                cc_st_14.WR_SOP0=wr_sop_3_14;
                cc_st_14.WR_EOP0=wr_eop_3_14;
                cc_st_14.WR_VLD0=wr_vld_3_14;
                cc_st_14.DATA_STATUS0=data_status_3_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_3_15;
                cc_st_15.DATA_SIZE0=data_size_3_15;
                cc_st_15.DATA_PRI0=data_pri_3_15;
                cc_st_15.WR_SOP0=wr_sop_3_15;
                cc_st_15.WR_EOP0=wr_eop_3_15;
                cc_st_15.WR_VLD0=wr_vld_3_15;
                cc_st_15.DATA_STATUS0=data_status_3_15;
            end
        endcase
    end
    REQ2_1:begin
        case(de_cc_2.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_2_0;
                cc_st_0.DATA_SIZE0=data_size_2_0;
                cc_st_0.DATA_PRI0=data_pri_2_0;
                cc_st_0.WR_SOP0=wr_sop_2_0;
                cc_st_0.WR_EOP0=wr_eop_2_0;
                cc_st_0.WR_VLD0=wr_vld_2_0;
                cc_st_0.DATA_STATUS0=data_status_2_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_2_1;
                cc_st_1.DATA_SIZE0=data_size_2_1;
                cc_st_1.DATA_PRI0=data_pri_2_1;
                cc_st_1.WR_SOP0=wr_sop_2_1;
                cc_st_1.WR_EOP0=wr_eop_2_1;
                cc_st_1.WR_VLD0=wr_vld_2_1;
                cc_st_1.DATA_STATUS0=data_status_2_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_2_2;
                cc_st_2.DATA_SIZE0=data_size_2_2;
                cc_st_2.DATA_PRI0=data_pri_2_2;
                cc_st_2.WR_SOP0=wr_sop_2_2;
                cc_st_2.WR_EOP0=wr_eop_2_2;
                cc_st_2.WR_VLD0=wr_vld_2_2;
                cc_st_2.DATA_STATUS0=data_status_2_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_2_3;
                cc_st_3.DATA_SIZE0=data_size_2_3;
                cc_st_3.DATA_PRI0=data_pri_2_3;
                cc_st_3.WR_SOP0=wr_sop_2_3;
                cc_st_3.WR_EOP0=wr_eop_2_3;
                cc_st_3.WR_VLD0=wr_vld_2_3;
                cc_st_3.DATA_STATUS0=data_status_2_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_2_4;
                cc_st_4.DATA_SIZE0=data_size_2_4;
                cc_st_4.DATA_PRI0=data_pri_2_4;
                cc_st_4.WR_SOP0=wr_sop_2_4;
                cc_st_4.WR_EOP0=wr_eop_2_4;
                cc_st_4.WR_VLD0=wr_vld_2_4;
                cc_st_4.DATA_STATUS0=data_status_2_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_2_5;
                cc_st_5.DATA_SIZE0=data_size_2_5;
                cc_st_5.DATA_PRI0=data_pri_2_5;
                cc_st_5.WR_SOP0=wr_sop_2_5;
                cc_st_5.WR_EOP0=wr_eop_2_5;
                cc_st_5.WR_VLD0=wr_vld_2_5;
                cc_st_5.DATA_STATUS0=data_status_2_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_2_6;
                cc_st_6.DATA_SIZE0=data_size_2_6;
                cc_st_6.DATA_PRI0=data_pri_2_6;
                cc_st_6.WR_SOP0=wr_sop_2_6;
                cc_st_6.WR_EOP0=wr_eop_2_6;
                cc_st_6.WR_VLD0=wr_vld_2_6;
                cc_st_6.DATA_STATUS0=data_status_2_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_2_7;
                cc_st_7.DATA_SIZE0=data_size_2_7;
                cc_st_7.DATA_PRI0=data_pri_2_7;
                cc_st_7.WR_SOP0=wr_sop_2_7;
                cc_st_7.WR_EOP0=wr_eop_2_7;
                cc_st_7.WR_VLD0=wr_vld_2_7;
                cc_st_7.DATA_STATUS0=data_status_2_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_2_8;
                cc_st_8.DATA_SIZE0=data_size_2_8;
                cc_st_8.DATA_PRI0=data_pri_2_8;
                cc_st_8.WR_SOP0=wr_sop_2_8;
                cc_st_8.WR_EOP0=wr_eop_2_8;
                cc_st_8.WR_VLD0=wr_vld_2_8;
                cc_st_8.DATA_STATUS0=data_status_2_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_2_9;
                cc_st_9.DATA_SIZE0=data_size_2_9;
                cc_st_9.DATA_PRI0=data_pri_2_9;
                cc_st_9.WR_SOP0=wr_sop_2_9;
                cc_st_9.WR_EOP0=wr_eop_2_9;
                cc_st_9.WR_VLD0=wr_vld_2_9;
                cc_st_9.DATA_STATUS0=data_status_2_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_2_10;
                cc_st_10.DATA_SIZE0=data_size_2_10;
                cc_st_10.DATA_PRI0=data_pri_2_10;
                cc_st_10.WR_SOP0=wr_sop_2_10;
                cc_st_10.WR_EOP0=wr_eop_2_10;
                cc_st_10.WR_VLD0=wr_vld_2_10;
                cc_st_10.DATA_STATUS0=data_status_2_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_2_11;
                cc_st_11.DATA_SIZE0=data_size_2_11;
                cc_st_11.DATA_PRI0=data_pri_2_11;
                cc_st_11.WR_SOP0=wr_sop_2_11;
                cc_st_11.WR_EOP0=wr_eop_2_11;
                cc_st_11.WR_VLD0=wr_vld_2_11;
                cc_st_11.DATA_STATUS0=data_status_2_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_2_12;
                cc_st_12.DATA_SIZE0=data_size_2_12;
                cc_st_12.DATA_PRI0=data_pri_2_12;
                cc_st_12.WR_SOP0=wr_sop_2_12;
                cc_st_12.WR_EOP0=wr_eop_2_12;
                cc_st_12.WR_VLD0=wr_vld_2_12;
                cc_st_12.DATA_STATUS0=data_status_2_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_2_13;
                cc_st_13.DATA_SIZE0=data_size_2_13;
                cc_st_13.DATA_PRI0=data_pri_2_13;
                cc_st_13.WR_SOP0=wr_sop_2_13;
                cc_st_13.WR_EOP0=wr_eop_2_13;
                cc_st_13.WR_VLD0=wr_vld_2_13;
                cc_st_13.DATA_STATUS0=data_status_2_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_2_14;
                cc_st_14.DATA_SIZE0=data_size_2_14;
                cc_st_14.DATA_PRI0=data_pri_2_14;
                cc_st_14.WR_SOP0=wr_sop_2_14;
                cc_st_14.WR_EOP0=wr_eop_2_14;
                cc_st_14.WR_VLD0=wr_vld_2_14;
                cc_st_14.DATA_STATUS0=data_status_2_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_2_15;
                cc_st_15.DATA_SIZE0=data_size_2_15;
                cc_st_15.DATA_PRI0=data_pri_2_15;
                cc_st_15.WR_SOP0=wr_sop_2_15;
                cc_st_15.WR_EOP0=wr_eop_2_15;
                cc_st_15.WR_VLD0=wr_vld_2_15;
                cc_st_15.DATA_STATUS0=data_status_2_15;
            end
        endcase
    end
    REQ1_1:begin
        case(de_cc_1.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_1_0;
                cc_st_0.DATA_SIZE0=data_size_1_0;
                cc_st_0.DATA_PRI0=data_pri_1_0;
                cc_st_0.WR_SOP0=wr_sop_1_0;
                cc_st_0.WR_EOP0=wr_eop_1_0;
                cc_st_0.WR_VLD0=wr_vld_1_0;
                cc_st_0.DATA_STATUS0=data_status_1_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_1_1;
                cc_st_1.DATA_SIZE0=data_size_1_1;
                cc_st_1.DATA_PRI0=data_pri_1_1;
                cc_st_1.WR_SOP0=wr_sop_1_1;
                cc_st_1.WR_EOP0=wr_eop_1_1;
                cc_st_1.WR_VLD0=wr_vld_1_1;
                cc_st_1.DATA_STATUS0=data_status_1_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_1_2;
                cc_st_2.DATA_SIZE0=data_size_1_2;
                cc_st_2.DATA_PRI0=data_pri_1_2;
                cc_st_2.WR_SOP0=wr_sop_1_2;
                cc_st_2.WR_EOP0=wr_eop_1_2;
                cc_st_2.WR_VLD0=wr_vld_1_2;
                cc_st_2.DATA_STATUS0=data_status_1_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_1_3;
                cc_st_3.DATA_SIZE0=data_size_1_3;
                cc_st_3.DATA_PRI0=data_pri_1_3;
                cc_st_3.WR_SOP0=wr_sop_1_3;
                cc_st_3.WR_EOP0=wr_eop_1_3;
                cc_st_3.WR_VLD0=wr_vld_1_3;
                cc_st_3.DATA_STATUS0=data_status_1_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_1_4;
                cc_st_4.DATA_SIZE0=data_size_1_4;
                cc_st_4.DATA_PRI0=data_pri_1_4;
                cc_st_4.WR_SOP0=wr_sop_1_4;
                cc_st_4.WR_EOP0=wr_eop_1_4;
                cc_st_4.WR_VLD0=wr_vld_1_4;
                cc_st_4.DATA_STATUS0=data_status_1_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_1_5;
                cc_st_5.DATA_SIZE0=data_size_1_5;
                cc_st_5.DATA_PRI0=data_pri_1_5;
                cc_st_5.WR_SOP0=wr_sop_1_5;
                cc_st_5.WR_EOP0=wr_eop_1_5;
                cc_st_5.WR_VLD0=wr_vld_1_5;
                cc_st_5.DATA_STATUS0=data_status_1_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_1_6;
                cc_st_6.DATA_SIZE0=data_size_1_6;
                cc_st_6.DATA_PRI0=data_pri_1_6;
                cc_st_6.WR_SOP0=wr_sop_1_6;
                cc_st_6.WR_EOP0=wr_eop_1_6;
                cc_st_6.WR_VLD0=wr_vld_1_6;
                cc_st_6.DATA_STATUS0=data_status_1_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_1_7;
                cc_st_7.DATA_SIZE0=data_size_1_7;
                cc_st_7.DATA_PRI0=data_pri_1_7;
                cc_st_7.WR_SOP0=wr_sop_1_7;
                cc_st_7.WR_EOP0=wr_eop_1_7;
                cc_st_7.WR_VLD0=wr_vld_1_7;
                cc_st_7.DATA_STATUS0=data_status_1_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_1_8;
                cc_st_8.DATA_SIZE0=data_size_1_8;
                cc_st_8.DATA_PRI0=data_pri_1_8;
                cc_st_8.WR_SOP0=wr_sop_1_8;
                cc_st_8.WR_EOP0=wr_eop_1_8;
                cc_st_8.WR_VLD0=wr_vld_1_8;
                cc_st_8.DATA_STATUS0=data_status_1_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_1_9;
                cc_st_9.DATA_SIZE0=data_size_1_9;
                cc_st_9.DATA_PRI0=data_pri_1_9;
                cc_st_9.WR_SOP0=wr_sop_1_9;
                cc_st_9.WR_EOP0=wr_eop_1_9;
                cc_st_9.WR_VLD0=wr_vld_1_9;
                cc_st_9.DATA_STATUS0=data_status_1_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_1_10;
                cc_st_10.DATA_SIZE0=data_size_1_10;
                cc_st_10.DATA_PRI0=data_pri_1_10;
                cc_st_10.WR_SOP0=wr_sop_1_10;
                cc_st_10.WR_EOP0=wr_eop_1_10;
                cc_st_10.WR_VLD0=wr_vld_1_10;
                cc_st_10.DATA_STATUS0=data_status_1_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_1_11;
                cc_st_11.DATA_SIZE0=data_size_1_11;
                cc_st_11.DATA_PRI0=data_pri_1_11;
                cc_st_11.WR_SOP0=wr_sop_1_11;
                cc_st_11.WR_EOP0=wr_eop_1_11;
                cc_st_11.WR_VLD0=wr_vld_1_11;
                cc_st_11.DATA_STATUS0=data_status_1_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_1_12;
                cc_st_12.DATA_SIZE0=data_size_1_12;
                cc_st_12.DATA_PRI0=data_pri_1_12;
                cc_st_12.WR_SOP0=wr_sop_1_12;
                cc_st_12.WR_EOP0=wr_eop_1_12;
                cc_st_12.WR_VLD0=wr_vld_1_12;
                cc_st_12.DATA_STATUS0=data_status_1_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_1_13;
                cc_st_13.DATA_SIZE0=data_size_1_13;
                cc_st_13.DATA_PRI0=data_pri_1_13;
                cc_st_13.WR_SOP0=wr_sop_1_13;
                cc_st_13.WR_EOP0=wr_eop_1_13;
                cc_st_13.WR_VLD0=wr_vld_1_13;
                cc_st_13.DATA_STATUS0=data_status_1_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_1_14;
                cc_st_14.DATA_SIZE0=data_size_1_14;
                cc_st_14.DATA_PRI0=data_pri_1_14;
                cc_st_14.WR_SOP0=wr_sop_1_14;
                cc_st_14.WR_EOP0=wr_eop_1_14;
                cc_st_14.WR_VLD0=wr_vld_1_14;
                cc_st_14.DATA_STATUS0=data_status_1_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_1_15;
                cc_st_15.DATA_SIZE0=data_size_1_15;
                cc_st_15.DATA_PRI0=data_pri_1_15;
                cc_st_15.WR_SOP0=wr_sop_1_15;
                cc_st_15.WR_EOP0=wr_eop_1_15;
                cc_st_15.WR_VLD0=wr_vld_1_15;
                cc_st_15.DATA_STATUS0=data_status_1_15;
            end
        endcase
    end
    REQ0_1:begin
        case(de_cc_0.DATA_DEST)
            4'd0:begin
                cc_st_0.WR_DATA0=wr_data_0_0;
                cc_st_0.DATA_SIZE0=data_size_0_0;
                cc_st_0.DATA_PRI0=data_pri_0_0;
                cc_st_0.WR_SOP0=wr_sop_0_0;
                cc_st_0.WR_EOP0=wr_eop_0_0;
                cc_st_0.WR_VLD0=wr_vld_0_0;
                cc_st_0.DATA_STATUS0=data_status_0_0;
            end
            4'd1:begin
                cc_st_1.WR_DATA0=wr_data_0_1;
                cc_st_1.DATA_SIZE0=data_size_0_1;
                cc_st_1.DATA_PRI0=data_pri_0_1;
                cc_st_1.WR_SOP0=wr_sop_0_1;
                cc_st_1.WR_EOP0=wr_eop_0_1;
                cc_st_1.WR_VLD0=wr_vld_0_1;
                cc_st_1.DATA_STATUS0=data_status_0_1;
            end
            4'd2:begin
                cc_st_2.WR_DATA0=wr_data_0_2;
                cc_st_2.DATA_SIZE0=data_size_0_2;
                cc_st_2.DATA_PRI0=data_pri_0_2;
                cc_st_2.WR_SOP0=wr_sop_0_2;
                cc_st_2.WR_EOP0=wr_eop_0_2;
                cc_st_2.WR_VLD0=wr_vld_0_2;
                cc_st_2.DATA_STATUS0=data_status_0_2;
            end
            4'd3:begin
                cc_st_3.WR_DATA0=wr_data_0_3;
                cc_st_3.DATA_SIZE0=data_size_0_3;
                cc_st_3.DATA_PRI0=data_pri_0_3;
                cc_st_3.WR_SOP0=wr_sop_0_3;
                cc_st_3.WR_EOP0=wr_eop_0_3;
                cc_st_3.WR_VLD0=wr_vld_0_3;
                cc_st_3.DATA_STATUS0=data_status_0_3;
            end
            4'd4:begin
                cc_st_4.WR_DATA0=wr_data_0_4;
                cc_st_4.DATA_SIZE0=data_size_0_4;
                cc_st_4.DATA_PRI0=data_pri_0_4;
                cc_st_4.WR_SOP0=wr_sop_0_4;
                cc_st_4.WR_EOP0=wr_eop_0_4;
                cc_st_4.WR_VLD0=wr_vld_0_4;
                cc_st_4.DATA_STATUS0=data_status_0_4;
            end
            4'd5:begin
                cc_st_5.WR_DATA0=wr_data_0_5;
                cc_st_5.DATA_SIZE0=data_size_0_5;
                cc_st_5.DATA_PRI0=data_pri_0_5;
                cc_st_5.WR_SOP0=wr_sop_0_5;
                cc_st_5.WR_EOP0=wr_eop_0_5;
                cc_st_5.WR_VLD0=wr_vld_0_5;
                cc_st_5.DATA_STATUS0=data_status_0_5;
            end
            4'd6:begin
                cc_st_6.WR_DATA0=wr_data_0_6;
                cc_st_6.DATA_SIZE0=data_size_0_6;
                cc_st_6.DATA_PRI0=data_pri_0_6;
                cc_st_6.WR_SOP0=wr_sop_0_6;
                cc_st_6.WR_EOP0=wr_eop_0_6;
                cc_st_6.WR_VLD0=wr_vld_0_6;
                cc_st_6.DATA_STATUS0=data_status_0_6;
            end
            4'd7:begin
                cc_st_7.WR_DATA0=wr_data_0_7;
                cc_st_7.DATA_SIZE0=data_size_0_7;
                cc_st_7.DATA_PRI0=data_pri_0_7;
                cc_st_7.WR_SOP0=wr_sop_0_7;
                cc_st_7.WR_EOP0=wr_eop_0_7;
                cc_st_7.WR_VLD0=wr_vld_0_7;
                cc_st_7.DATA_STATUS0=data_status_0_7;
            end
            4'd8:begin
                cc_st_8.WR_DATA0=wr_data_0_8;
                cc_st_8.DATA_SIZE0=data_size_0_8;
                cc_st_8.DATA_PRI0=data_pri_0_8;
                cc_st_8.WR_SOP0=wr_sop_0_8;
                cc_st_8.WR_EOP0=wr_eop_0_8;
                cc_st_8.WR_VLD0=wr_vld_0_8;
                cc_st_8.DATA_STATUS0=data_status_0_8;
            end
            4'd9:begin
                cc_st_9.WR_DATA0=wr_data_0_9;
                cc_st_9.DATA_SIZE0=data_size_0_9;
                cc_st_9.DATA_PRI0=data_pri_0_9;
                cc_st_9.WR_SOP0=wr_sop_0_9;
                cc_st_9.WR_EOP0=wr_eop_0_9;
                cc_st_9.WR_VLD0=wr_vld_0_9;
                cc_st_9.DATA_STATUS0=data_status_0_9;
            end
            4'd10:begin
                cc_st_10.WR_DATA0=wr_data_0_10;
                cc_st_10.DATA_SIZE0=data_size_0_10;
                cc_st_10.DATA_PRI0=data_pri_0_10;
                cc_st_10.WR_SOP0=wr_sop_0_10;
                cc_st_10.WR_EOP0=wr_eop_0_10;
                cc_st_10.WR_VLD0=wr_vld_0_10;
                cc_st_10.DATA_STATUS0=data_status_0_10;
            end
            4'd11:begin
                cc_st_11.WR_DATA0=wr_data_0_11;
                cc_st_11.DATA_SIZE0=data_size_0_11;
                cc_st_11.DATA_PRI0=data_pri_0_11;
                cc_st_11.WR_SOP0=wr_sop_0_11;
                cc_st_11.WR_EOP0=wr_eop_0_11;
                cc_st_11.WR_VLD0=wr_vld_0_11;
                cc_st_11.DATA_STATUS0=data_status_0_11;
            end
            4'd12:begin
                cc_st_12.WR_DATA0=wr_data_0_12;
                cc_st_12.DATA_SIZE0=data_size_0_12;
                cc_st_12.DATA_PRI0=data_pri_0_12;
                cc_st_12.WR_SOP0=wr_sop_0_12;
                cc_st_12.WR_EOP0=wr_eop_0_12;
                cc_st_12.WR_VLD0=wr_vld_0_12;
                cc_st_12.DATA_STATUS0=data_status_0_12;
            end
            4'd13:begin
                cc_st_13.WR_DATA0=wr_data_0_13;
                cc_st_13.DATA_SIZE0=data_size_0_13;
                cc_st_13.DATA_PRI0=data_pri_0_13;
                cc_st_13.WR_SOP0=wr_sop_0_13;
                cc_st_13.WR_EOP0=wr_eop_0_13;
                cc_st_13.WR_VLD0=wr_vld_0_13;
                cc_st_13.DATA_STATUS0=data_status_0_13;
            end
            4'd14:begin
                cc_st_14.WR_DATA0=wr_data_0_14;
                cc_st_14.DATA_SIZE0=data_size_0_14;
                cc_st_14.DATA_PRI0=data_pri_0_14;
                cc_st_14.WR_SOP0=wr_sop_0_14;
                cc_st_14.WR_EOP0=wr_eop_0_14;
                cc_st_14.WR_VLD0=wr_vld_0_14;
                cc_st_14.DATA_STATUS0=data_status_0_14;
            end
            4'd15:begin
                cc_st_15.WR_DATA0=wr_data_0_15;
                cc_st_15.DATA_SIZE0=data_size_0_15;
                cc_st_15.DATA_PRI0=data_pri_0_15;
                cc_st_15.WR_SOP0=wr_sop_0_15;
                cc_st_15.WR_EOP0=wr_eop_0_15;
                cc_st_15.WR_VLD0=wr_vld_0_15;
                cc_st_15.DATA_STATUS0=data_status_0_15;
            end
        endcase
    end
    default:begin
        cc_st_0.WR_DATA0=36'd0;
        cc_st_0.DATA_SIZE0=11'd0;
        cc_st_0.DATA_PRI0=3'd0;
        cc_st_0.WR_SOP0=1'b0;
        cc_st_0.WR_EOP0=1'b0;
        cc_st_0.WR_VLD0=1'b0;
        cc_st_0.DATA_STATUS0=1'b0;
    end
    endcase
end

endmodule

